Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problems with CSS

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  Frontpage extensions  
Author Message
paul

External


Since: Apr 04, 2005
Posts: 14



(Msg. 1) Posted: Fri Jun 24, 2005 12:55 pm
Post subject: Problems with CSS
Archived from groups: alt>websites, others (more info?)

Hi,
Ok, so I've started with CSS-P and its not a simple as I thought!! Smile I'm
attempting a three-col layout and I cant seem to get the center col to
behave. You can see what I mean at www.paulwatt.info the add of the css
file
is www.paulwatt.info/mainlayout.css .

Also how well supported is the "height" attribute in css? Could I use "*%"
in the height attribute to fill the rest of the screen?

Sorry to bother you, but I just cant figure it out!

TIA

Paul


--
I am using the free version of SPAMfighter for private users.
It has removed 3216 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!

 >> Stay informed about: Problems with CSS 
Back to top
Login to vote
comments

External


Since: Sep 14, 2004
Posts: 1625



(Msg. 2) Posted: Fri Jun 24, 2005 3:55 pm
Post subject: Re: Problems with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Once upon a time, far far away "paul"
<paulioNOSPAM DeleteThis @wattio.freeserve.co.uk> muttered

 >Hi,
 >Ok, so I've started with CSS-P and its not a simple as I thought!! Smile I'm
 >attempting a three-col layout and I cant seem to get the center col to
 >behave. You can see what I mean at <a style='text-decoration: underline;' href="http://www.paulwatt.info" target="_blank">www.paulwatt.info</a> the add of the css
 >file
 >is <a style='text-decoration: underline;' href="http://www.paulwatt.info/mainlayout.css" target="_blank">www.paulwatt.info/mainlayout.css</a> .
 >
 >Also how well supported is the "height" attribute in css? Could I use "*%"
 >in the height attribute to fill the rest of the screen?
 >
 >Sorry to bother you, but I just cant figure it out!
 >
 >TIA
 >
 >Paul



Try this as a starting point:

<HTML>
<HEAD>
<style type="text/css">

#header
{
  position: absolute;
  left: 0px;
top: 0px;
right: 0px;
width: 100%;
height: 50px;
  background-color: blue;
color: white;
padding: 10px;
}


#left
{
  position: absolute;
top: 50px;
  left: 0px;
width: 30%;
background-color: red;
color: white;
padding: 10px;
}

#center
{
  position: absolute;
top: 50px;
width: 40%;
  margin-left: 30%;
background-color: green;
color: white;
padding: 10px;
}

#right
{
  position: absolute;
top: 50px;
  right: 0px;
width: 30%;
background-color: brown;
color: white;
padding: 10px;
}
</style>

</head>

<body rightmargin=0; leftmargin=0>

<div id="header">
This is the header box!
</div>

<div id="left">
This is the left column!
<p>
You can hard code these columns to the same height if you wish using
the CSS height: command, or by padding with HTML <br> or
<p> ;</p> commands as desired.
</div>

<div id="center">
This is the center column!
</div>

<div id="right">
This is the right column!
</div>
</body>
</html>


Matt

--
If your encyclopaedia doesn't list "widget glass", you're reading the wrong encyclopaedia.
The Probert Encyclopaedia. Its not the same.
<a style='text-decoration: underline;' href="http://www.probertencyclopaedia.com" target="_blank">http://www.probertencyclopaedia.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Problems with CSS 
Back to top
Login to vote
user295

External


Since: Nov 07, 2003
Posts: 366



(Msg. 3) Posted: Fri Jun 24, 2005 3:55 pm
Post subject: Re: Problems with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.www.webmaster, paul wrote:
 > Hi,
 > Ok, so I've started with CSS-P and its not a simple as I thought!! Smile

Yeah, it is. <g>

I like Ben's templates. Look at his 3-col layout.
<a style='text-decoration: underline;' href="http://www.benmeadowcroft.com/webdev/csstemplates/spider1.html" target="_blank">http://www.benmeadowcroft.com/webdev/csstemplates/spider1.html</a>

You should use em for your column margins instead of px, so that when
we resize your text, it all floats properly.

--
-bts
-This space intentionally left blank.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problems with CSS 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FTP Problems - Ftp problems - what is a 421 error ? Am using ws_ftp le ( used it with my Bigpond account without problems ) and the settings I am using are - Profile name : swiftdsl Hostname/address: ftp.swiftdsl.com.au Host type: automatic User ID : name Password:..

what can cause SSL Problems? - Hi folks, one of my customerst has problems with an online shop (osCommerce) using a shared cert from their web host. Unfortunately I cannot get the same problem at my site but customers keep complaining about these problems. maybe somebody can give me...

mac problems - Hello - I have created a site using using Macromedia Fireworks drop-down menus. My client uses a mac and has complained that the drop-down menus either appear half way down the screen or not at all. Would any mac users out there mind taking a look and....

CSS Problems - Hey, I've got a main php page called index.php. Depending on what comes after ?content= in the url index.php?content=, it uses include() to include a page. On each individual content page, I've got some CSS includes. I also have a css include on..

problems at myshosting.com - What do you do with problems at myshosting.com? Waiting for the fix or moving somewhere else? Mark
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]