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
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-16-2008, 06:41 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
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.
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 08-16-2008, 07:18 PM   #2 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
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, 07:34 PM   #3 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
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, 07:39 PM   #4 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
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?
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 08-16-2008, 08:31 PM   #5 (permalink)
The Wanderer
 
Join Date: Jan 2008
Posts: 24
Thanks: 13
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, 09:59 PM   #6 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
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
__________________
no signature set
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 04:30 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design