Welcome visitor
* Login
* Register
It is currently March 24th, 2019, 12:59 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
  Position a banner
PostPosted: October 3rd, 2009, 9:00 pm 

Posts: 30
Hi, i have made my .bmp banner and right now it has a width of 100% of the screen. Can I change it to be only half the size of the content table and yet be centered above the table?


Top
 Profile  
 
  Re: Position a banner
PostPosted: October 4th, 2009, 4:19 am 
User avatar

Posts: 112
<style type="text/css">
table{width: 700px; height: 300px}
.banner{text-align: center}
</style>

<table>
<tr><td colspan="3" class="banner"><img src="kz.bmp" style="width: 50%; height: 100px" /></td></tr>
<tr><td>example</td><td>example</td><td>example</td></tr>
<tr><td>example</td><td>example</td><td>example</td></tr>
<tr><td>example</td><td>example</td><td>example</td></tr>
</table>


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