Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2012, 02:04 PM   PM User | #1
Buffy1011
New to the CF scene

 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Buffy1011 is an unknown quantity at this point
Screen sizes problem?

Hi people. I'm new to this forums, and I need a little bit of help with making my site's homepage fit for all screensizes..
So I coded a layout to fit my computer, which is a Netbiook. One of my friends tested the site and set it was totally off for him because of the different screen sizes.
I want to be able to make it viewed as the same site for all different screen sizes of computers (not mobile, though). Is that possible? What should I do?
If anyone needs more info just ask..as I said, I'm new to these forums so I'm not sure what to include in my post.
Thanks!
Buffy1011 is offline   Reply With Quote
Old 07-19-2012, 02:27 PM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Essentially you have two choices. You can make your site fluid so it will expand or contract to take up the available width of the screen - Coding Forums itself does this. Or you can set a fixed width to the site taking into consideration the range of screen widths - the de facto standard is to fit the width of 1024px screens - like, for example, the BBC News site which has a width of 976px.

If you post a link to your page it may be possible to offer more specific advice.
SB65 is offline   Reply With Quote
Old 07-28-2012, 07:46 PM   PM User | #3
Buffy1011
New to the CF scene

 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Buffy1011 is an unknown quantity at this point
Sorry for the late reply but the link is here.
Buffy1011 is offline   Reply With Quote
Old 07-29-2012, 07:52 PM   PM User | #4
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
I'd start by removing this width which is giving the enormous horizontal scroll:

Code:
#topbar {
    background-color: #09C405;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 5px;
    padding: 10px;
    width: 990%;
}
SB65 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:38 PM.


Advertisement
Log in to turn off these ads.