|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
css/div table padding troubles
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
nVidia Enthusiast
![]()
Join Date: Apr 2006
Location: Phoenix, ARIZONA!!!!!!
Posts: 975
Rep: 75
![]() Unique Rep: 66
Trader Rating: 0
|
If my main table is padded, then the font fits nicely on the inside of the table, but it will not load correctly in IE, just ff. IF i take off padding, the table keeps is width in both ff and IE, but the font reaches both left and right sides with no padding.
currently im using the <ul> tag to indent everything from the left, but what about the right? This is a super simple site that seems to be kicking my butt. [site] the relevent code is below. Code:
#container {
margin: 0px auto;
text-align: left;
width: 776px;
}
[index.html in .txt format] [css]
__________________
MY FOR SALE THREAD
|
|||||||||||||
|
|
|
|
|
#2 (permalink) | ||||||||||||
|
News Fiend
![]() |
you talking about this?
__________________http://dl.getdropbox.com/u/550070/temp/ie.jpg
|
||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||
|
Linux Lobbyist
![]() |
instead of using padding on that element, try setting a margin on everything inside.
|
|||||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||||||
|
nVidia Enthusiast
![]()
Join Date: Apr 2006
Location: Phoenix, ARIZONA!!!!!!
Posts: 975
Rep: 75
![]() Unique Rep: 66
Trader Rating: 0
|
Quote:
ok will try thx.
__________________
MY FOR SALE THREAD
|
||||||||||||||
|
|
|
|
|
#5 (permalink) | ||||||||||||
|
PC Gamer
![]() |
This may cause a *little* more work for you, but it will save you LOTS of headache. Place this at the top of every CSS you make.
__________________* { margin: 0px; padding: 0px }
|
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|