TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-16-2008, 07:41 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 254
Thanks: 39
sarmenhb is on a distinguished road
Default help with ie rendering css

need some help here

i got this template working perfectly in firefox 3 but some divs wont show in ie.

Swiss Cabinets - All Wood Works

div id: bar and bottom arent displaying.
what can i do to make them show?

F*** how much i hate ie.
__________________
http://www.sarmenhb.com
Send a message via AIM to sarmenhb Send a message via MSN to sarmenhb Send a message via Yahoo to sarmenhb Send a message via Skype™ to sarmenhb
sarmenhb is offline  
Reply With Quote
Old 08-16-2008, 08:18 PM   #2 (permalink)
The Gregarious
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Cana'derr
Posts: 653
Thanks: 24
delayedinsanity is on a distinguished road
Default

In this case it's not really IEs fault so much as it is the style sheets for not properly defining where everything should be going. If you need a reset, use one, but don't rely on * to set specific margins - Go through and reformat your style sheet so the browser knows exactly where everything is supposed to go. How wide is this? What are its margins? Where should I put the background picture? on the left or right? You're leaving a lot up to the browser to determine, and therefore it's going to render differently in different browsers. Be specific.
-m
delayedinsanity is offline  
Reply With Quote
Old 08-16-2008, 08:34 PM   #3 (permalink)
The Acquainted
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 175
Thanks: 6
CoryMathews is on a distinguished road
Default

It is way way off in opera as well. You gonna need to rethink how you wrote that. A couple things.

* { margin:0px auto; border:0px; padding:0px; }
is all wrong if you are going to use that make sure its margin:0; not margin:0 auto; that trys to center everything and will break others for sure. also dont put border in there. Or better yet avoid it all together.

height:100%; - doesnt work.. dont use it.

word-spacing:65px; - remove that. try to never use word-spacing, same for letter spacing. will help with different browsers.

those few changes should fix a bit.
CoryMathews is offline  
Reply With Quote
Old 08-16-2008, 08:39 PM   #4 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 254
Thanks: 39
sarmenhb is on a distinguished road
Default

if i cant use word spacing or line spacing, then how would i evenly space out that list in the navigation?
__________________
http://www.sarmenhb.com
Send a message via AIM to sarmenhb Send a message via MSN to sarmenhb Send a message via Yahoo to sarmenhb Send a message via Skype™ to sarmenhb
sarmenhb is offline  
Reply With Quote
Old 08-16-2008, 09:31 PM   #5 (permalink)
The Wanderer
 
Join Date: Jan 2008
Posts: 17
Thanks: 12
sidisinsane is on a distinguished road
Default

This tag in your code
Quote:
<span id="nav">
opens and never closes. Close it or remove it and give your ul-tag the id instead. That would be the first step ...
sidisinsane is offline  
Reply With Quote
Old 08-16-2008, 10:59 PM   #6 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 254
Thanks: 39
sarmenhb is on a distinguished road
Default

Quote:
Originally Posted by sidisinsane View Post
This tag in your code

opens and never closes. Close it or remove it and give your ul-tag the id instead. That would be the first step ...
thanks :p that did the trick
__________________
http://www.sarmenhb.com
Send a message via AIM to sarmenhb Send a message via MSN to sarmenhb Send a message via Yahoo to sarmenhb Send a message via Skype™ to sarmenhb
sarmenhb is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:33 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0