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 02-19-2012, 02:45 PM   PM User | #1
saferide
New to the CF scene

 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
saferide is an unknown quantity at this point
Help with auto adjusting to browser?

I am very new to HTML and CSS, this is the first website I actually program completely from scratch (thus, it looks terrible. I know. I am clearly not a natural when it comes to graphics and programming... .) I have had no problems until now, when it refuses to auto adjust to the browser. That is, when I use my iMac, it look proportionate, but when I use a laptop or a different computer, it is too large. Also, if I use it on my iPad, the first page is proportionate, but not the other pages. I have googled and tried the solutions I could find, but it seems I have some sort of conflicting element that makes it impossible to adjust. Nothing I try work, anyway.

The adress is: hundvision.se

I'd be extremely grateful for any help I could get!
saferide is offline   Reply With Quote
Old 02-19-2012, 04:37 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,364
Thanks: 18
Thanked 348 Times in 347 Posts
sunfighter is on a distinguished road
Funny, I thought an iMAC was a laptop.
You have set the width for a couple of things way too large for most screens. Setting the width of your components does remove self-adjusting properties. Use could make the width smaller or check out using percents.

Here are the large widths
#container width: 1570px;
Line 113: <table width="1568"> <td width="1197"> <hr noshade="noshade" />

Removing the width for these seems to make things appear inside my screen, But sadly the final product is not fluid. I think this should get you started fixing the problem.
sunfighter is offline   Reply With Quote
Old 02-19-2012, 04:55 PM   PM User | #3
saferide
New to the CF scene

 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
saferide is an unknown quantity at this point
Thank you so much! I set the width after the computer I am working on, stupid mistake then. I'll try to put percents instead :-)
saferide 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 02:53 AM.


Advertisement
Log in to turn off these ads.