Welcome visitor
* Login
* Register
It is currently January 24th, 2019, 10:50 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  fixed layout
PostPosted: July 6th, 2009, 8:38 pm 

Posts: 31
im pretty new to all html language. I'd been using frontpage but now i decided to go all by myself. Im using tables for layout, a big table. When you scroll down the background image moves too, can i avoid that and have either a fixed background or a scrolling table? I'll appreciate it, thanks.


Top
 Profile  
 
  Re: fixed layout
PostPosted: July 6th, 2009, 10:20 pm 
User avatar

Posts: 137
<body style="background: url('file.bmp') fixed;">


and for the other option use divs instead of tables
<head>
<title></title>
<style type="text/css">
*{margin: 0px; padding: 0px;}
body, html{height: 100%;}
#layout{height: 100%; width: 100%; overflow: auto;}
</style>
</head>

<body>
<div id="layout">text</div>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron