Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-20-2006, 01:10 PM   #1 (permalink)
Contributing Member
 
funguru's Avatar
 
Join Date: 02-22-04
Location: California
Posts: 962
iTrader: 3 / 100%
funguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nice
css help in element positioning.

hi.. i am new at CSS but i have a read a few online guides and am trying stuff on my own. I am designing a page where i want it the whole page to be aligned center and always remains that way no matter if the browser window is resized.

below is the CSS for what i have done till now.. but all the images and text are fixed and when i resixe the window they still stay where they are.

<style type="text/css">

body {

background-color: white
}


#logo {
position:absolute;
top:0px;
left:170px;
}

#topmenubar {
position:absolute;
top:0px;
left:375px;
}


#headerimage {
position:absolute;
top:60px;
left:170px;
}

#contentleft {
width:175px;
padding:0px;
float:left;
background:#fff;
position: absolute;
top:210px;
left:170px;
}

</style>

<div id="logo">
<img src="website/images/fabulous-logo.jpg" width="175" height="60">
</div>

<div id="topmenubar">
<img src="website/images/top-menu-bar.gif" width="595" height="26">
</div>

<div id="headerimage">
<img src="website/images/passion-open-source.jpg" width="800" height="144">
</div>

<div id="contentleft">
this is coola
ad
adadada asds
ad
</div>
__________________
Add Link Directory $2 Submissions | SpeedHost.in Web Hosting India
funguru is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blogger Ad Element issue visionedger Blogging Forum 1 03-04-2008 06:54 PM
Style within an XML element StupidScript Coding Forum 5 04-03-2007 05:22 PM
title element of a link seminfo SEO Forum 13 04-02-2006 01:08 AM
Sort on 3rd array element (PHP) jg_v7n Coding Forum 1 09-24-2004 09:44 AM
CSS positioning vs. table positioning downtroden Coding Forum 2 07-19-2004 12:40 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 01:48 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.