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
Having trouble with my layout Help
Old 07-29-2007, 08:02 PM Having trouble with my layout Help
brian101's Avatar
Super Talker

Posts: 147
Location: Seattle, WA
Trades: 3
my sites www.dealsneaker.com i started learning CSS from a sitepoint book i got from my library. What do i got to learn to be able to put ads on the right side of my site without screwing up my left side im just having a lot of trouble figuring it.

heres my index.html (homepage file) and (style1) .css file
Attached Files
File Type: txt index.txt (14.0 KB, 1 views)
File Type: txt style1.txt (1.4 KB, 0 views)
__________________


Last edited by brian101; 07-29-2007 at 08:06 PM..
brian101 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-29-2007, 08:12 PM Re: Having trouble with my layout Help
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ok, you got a book on CSS but you're still using tables for layout ???
Which Sitepoint book did you get ?
__________________
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 07-29-2007, 08:13 PM Re: Having trouble with my layout Help
brian101's Avatar
Super Talker

Posts: 147
Location: Seattle, WA
Trades: 3
well im not using tables im using borders i think i might of just figured it out, i just got to use div align to move everything in the right place
__________________

brian101 is offline
Reply With Quote
View Public Profile
 
Old 07-29-2007, 08:22 PM Re: Having trouble with my layout Help
brian101's Avatar
Super Talker

Posts: 147
Location: Seattle, WA
Trades: 3
well i use div but whenever i try to place the ads on the right it always pushes down everything on my right side can anyone help me?
__________________

brian101 is offline
Reply With Quote
View Public Profile
 
Old 07-29-2007, 08:29 PM Re: Having trouble with my layout Help
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You are using tables, at least based on that code you posted.

if you're getting something that's 'dropping' it's usually because your columns are too wide to fit in the defined area.
__________________
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 07-29-2007, 08:31 PM Re: Having trouble with my layout Help
brian101's Avatar
Super Talker

Posts: 147
Location: Seattle, WA
Trades: 3
so just make my tables smaller? right now this is what i got it set to

padding: 15px;
width: 500px;
border: 0px dashed gray;
position: left;

heres a example of what happens to my site when i try to put ads on the right side

Also: the book i got was Build Your Own Web Site The Right Way Using Html & CSS By: Ian Llyod
__________________


Last edited by brian101; 07-29-2007 at 08:45 PM..
brian101 is offline
Reply With Quote
View Public Profile
 
Old 07-29-2007, 09:11 PM Re: Having trouble with my layout Help
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
padding: 15px;
width: 500px;
border: 0px dashed gray;
position: left;
There is no such thing as position: left.
There is no such thing as border: 0px dashed grey - it either HAS a border or it doesn't.
width: 500px with 15px of padding equals a TOTAL width of 530 pixels.

You got a good book, one I often recommend, but the idea is to NOT use tables.

You've got a lot of problems there. You've got style blocks out of place and all over the place.

If you're going to use floats, then you need to learn to CLEAR your floats and you need to learn what all the IE bugs are and how to kill them. http://www.positioniseverything.net/explorer.html

I would advise you to use a 'wrapper' div that will contain all of the rest of the page structure.

http://css-discuss.incutio.com/?page=CssLayouts
__________________
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 07-29-2007, 09:23 PM Re: Having trouble with my layout Help
brian101's Avatar
Super Talker

Posts: 147
Location: Seattle, WA
Trades: 3
thanks a lot, ill post here if i got anymore questions
__________________

brian101 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Having trouble with my layout Help
 

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.86172 seconds with 13 queries