Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 09-25-2007, 09:10 AM Problems with IE
Average Talker

Posts: 23
Name: Thomas
Location: Alberta, Canada
Trades: 0
I'm currently just trying to make a layout for a webpage before I add any content. I've tested it in Opera and Firefox and it looks good, but with IE the layout is way off.

I'm quite new to CSS, so if anyone could help me as to what I'm doing wrong that would be awesome!

You can see the webpage here:

http://www.3vs3.tunerspec.ca/home.html

Thanks!
thomashw is offline
Reply With Quote
View Public Profile Visit thomashw's homepage!
 
 
Register now for full access!
Old 09-25-2007, 10:45 AM Re: Problems with IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You'll need to change your layout.
-Make the content area a separate div.
-Float the left column left, give the #content div a wide enough left margin to push it over past the left column.
-Put a "wrapper" div around the whole thing, give it a width and use your css to center the whole thing (search here for the proper method for centering horizontally).

Use css for ALL of your formatting.
Replace <b></b> with <strong></strong>
Replace <i></i> with <em></em>
Get rid of that moldy old <center> tag and the "align="center"" junk, CSS should handle that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-25-2007, 09:48 PM Re: Problems with IE
Average Talker

Posts: 23
Name: Thomas
Location: Alberta, Canada
Trades: 0
Awesome! Thank you for the help!

It looks perfect in IE, Opera, and Firefox now.

I've done everything you said (I believe.) Could possibly take a quick look at the code again to make sure?
thomashw is offline
Reply With Quote
View Public Profile Visit thomashw's homepage!
 
Old 09-26-2007, 04:38 PM Re: Problems with IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Pretty good. I forgot to mention one thing, sorry.
You have to CLEAR your floats:
http://css-discuss.incutio.com/?page=ClearingSpace
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 06:15 PM Re: Problems with IE
Average Talker

Posts: 23
Name: Thomas
Location: Alberta, Canada
Trades: 0
Awesome, thanks.

One more thing... if you look at www.3vs3.tunerspec.ca/rules.html

The files there are aligned using a table. I want the table to have a border of 1 pixel. I tried putting <table class="table"> in the table header, and then using my stylesheet to tell the table class to have a border of 1 pixel. It didn't work.

Could someone enlighten me as to why it didn't work, and how to get the table to have a border of 1 pixel using CSS?

Last edited by thomashw; 09-27-2007 at 06:16 PM..
thomashw is offline
Reply With Quote
View Public Profile Visit thomashw's homepage!
 
Old 09-27-2007, 10:47 PM Re: Problems with IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
table {border: 1px solid #000;}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 11:55 PM Re: Problems with IE
Average Talker

Posts: 23
Name: Thomas
Location: Alberta, Canada
Trades: 0
Figured it out.

I was putting #table instead of .table in the stylesheet.

Last edited by thomashw; 09-28-2007 at 03:03 AM..
thomashw is offline
Reply With Quote
View Public Profile Visit thomashw's homepage!
 
Old 09-29-2007, 01:21 PM Re: Problems with IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You didn't need either, just specify it the way I gave it to you, which simply addresses the table element alone.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problems with IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.83029 seconds with 12 queries