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
side pannel won't align correctly
Old 06-02-2010, 08:15 PM side pannel won't align correctly
Super Talker

Posts: 142
Name: William
Trades: 0
this is how it should look


this is how it currently looks:
http://uuilliam.net/rugsale

I could do margin-top:-number; but I am ideally wanting the website to be scalable therefore trying to use releative units as much as possible

that leads me to my second problem, the content area (the bit that is causing the side to be pushed down.) how would i make that stay at 100% ? i put height to 100% but it doesn't work.
UUilliam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-03-2010, 08:53 AM Re: side pannel won't align correctly
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I am ideally wanting the website to be scalable therefore trying to use releative units as much as possible
use em for the dimensions then
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-03-2010, 09:58 AM Re: side pannel won't align correctly
Super Talker

Posts: 142
Name: William
Trades: 0
Doesn't em not just scale it to the size of the text I.E.
3em width would be
|MMM|
Meaning that someone viewing on a 800x600 screen will see it completely differently to someone with a 1366x768
I want it to look about the same on both(only fitting for the larger screen.)
UUilliam is offline
Reply With Quote
View Public Profile
 
Old 06-03-2010, 10:33 AM Re: side pannel won't align correctly
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
em is a relative dimension, and browsers convert the value into pixels based on the client machines hardware capabilities. ALSO, using ems as the dimension allows ALL elements to "zoom" at the same rate.

If you want the pages to appear PRECISELY the same on any resolution set the layout to a fixed width 774 pixels wide (to allow for vertical scrollbars)

OR dimension every element in percentages that will alllow for the client browser window size which may or may not be the same as the screen resolution, as larger resolution users rarely have the browser set to full screen.

So while the screen may be at 1280px or 1600px wide the browser window (where the page is being displayed) may actually be at 900px or 1100px.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to side pannel won't align correctly
 

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.17050 seconds with 12 queries