Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 10-10-09   #1 (permalink)
nVidia Enthusiast
 
Greensystemsgo's Avatar
 
intel nvidia

Join Date: Apr 2006
Location: Phoenix, ARIZONA!!!!!!
Posts: 975

Rep: 75 Greensystemsgo is acknowledged by some
Unique Rep: 66
Trader Rating: 0
Default css/div table padding troubles

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;
}
here is a link to the index source code and css if anyone needs. thankyou!
[index.html in .txt format]
[css]
__________________
MY FOR SALE THREAD

System: My Machine
CPU
Q6600 G0 @3.1ghz 1.25v
Motherboard
EVGA 680i SLI
Memory
4gb Gskill @ stock clocks
Graphics Card
Geforce 8800gts - 640mb/320bit
Hard Drive
seagate 160gb, hitachi 1tb
Sound Card
on board HD
Power Supply
CORSAIR 750w
Case
Antec900 - custom wire mgmt
CPU cooling
Rosewill
GPU cooling
Stock
OS
win7 rtm x64
Monitor
19" LCD hd 720
Greensystemsgo is offline   Reply With Quote
Old 10-10-09   #2 (permalink)
News Fiend
 
kyotejones's Avatar
 
intel nvidia

Join Date: Mar 2007
Posts: 222

Rep: 32 kyotejones is acknowledged by some
Unique Rep: 29
Trader Rating: 0
Default

you talking about this?
http://dl.getdropbox.com/u/550070/temp/ie.jpg
__________________
System: SCUD
CPU
Pentium C2D 2.4GHz
Motherboard
ASUS P5N32-E SLI
Memory
2x1Gb Balistix
Graphics Card
GeForce 7950 GT
Sound Card
SupremeFX (ADI 1988b)
Power Supply
ENERMAX Liberty 620W
Case
RAIDMAX SMILODON ATX
CPU cooling
ARCTIC COOLING Freezer 7
GPU cooling
Passive Heat Sink + CPU Fan
OS
Win XP Pro
Monitor
2x20" Samsung SyncMaster
kyotejones is offline   Reply With Quote
Old 10-10-09   #3 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 250

Rep: 35 hybrid-kernel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

instead of using padding on that element, try setting a margin on everything inside.
__________________
~Linux Enthusiast
Don't click here, I mean it. You've been warned.

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ουρανός amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Old 10-10-09   #4 (permalink)
nVidia Enthusiast
 
Greensystemsgo's Avatar
 
intel nvidia

Join Date: Apr 2006
Location: Phoenix, ARIZONA!!!!!!
Posts: 975

Rep: 75 Greensystemsgo is acknowledged by some
Unique Rep: 66
Trader Rating: 0
Default

Quote:
Originally Posted by kyotejones View Post
why yes i am. works fine in firefox though :/

Quote:
Originally Posted by hybrid-kernel View Post
instead of using padding on that element, try setting a margin on everything inside.
ok will try thx.
__________________
MY FOR SALE THREAD

System: My Machine
CPU
Q6600 G0 @3.1ghz 1.25v
Motherboard
EVGA 680i SLI
Memory
4gb Gskill @ stock clocks
Graphics Card
Geforce 8800gts - 640mb/320bit
Hard Drive
seagate 160gb, hitachi 1tb
Sound Card
on board HD
Power Supply
CORSAIR 750w
Case
Antec900 - custom wire mgmt
CPU cooling
Rosewill
GPU cooling
Stock
OS
win7 rtm x64
Monitor
19" LCD hd 720
Greensystemsgo is offline   Reply With Quote
Old 10-10-09   #5 (permalink)
PC Gamer
 
kneeki's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 721

Rep: 36 kneeki is acknowledged by some
Unique Rep: 31
Trader Rating: 0
Default

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 }
__________________
System: kneeki-desktop
CPU
Q6600 @ 3.4Ghz
Motherboard
eVGA 780i SLI FTW
Memory
Black Dragon 8GB
Graphics Card
GeForce 8800GT
Hard Drive
WD Caviar 80gb
Power Supply
650 Watt Antec NeoPOWER
Case
CMStacker
CPU cooling
D-TEK FuZion
GPU cooling
Swiftech MCW60-R
OS
Windows 7 x64
Monitor
2 x Acer 22"
kneeki is offline kneeki's Gallery   Reply With Quote
Reply


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



All times are GMT -5. The time now is 08:23 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11384 seconds with 8 queries