Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 18.01.2007, 14:16   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default CSS floats

Xochu sdelat' sleduyushee no tol'ko pri pomoshi <div>-ov i chtob rabotalo i v IE i v FF

<table width="100%" bgcolor="color1">
<tr>
<td width="100">Cell1: Pol'zuetsya cvetom color1</td>
<td bgcolor="color2">Cell2: cvet 2 rastyagivaetsya na vsyu stranicu</td>
</tr>
</table>

<div style="background: color1; width: 100%; overflow: hidden">
<div style="float: left; width: 100px;">Cell1</div>
<div style="background: color2;">Cell2</div>
</div>
v FF ne rabotaet...
Reply With Quote
Old 19.01.2007, 10:29   #2
*****
 
Michael's Avatar
 
Join Date: 03 2003
Location: Yerevan
Posts: 314
Downloads: 0
Uploads: 0
Reputation: 9 | 0
Default

<div style="background-color: #FF0000; width:100%;">
<div style="float: left; background-color:#ff0000; width:100px;">Cell1</div>
<div style="background: #FF00FF">Cell2</div>
</div>

Espes klini ?
Reply With Quote
Old 19.01.2007, 21:47   #3
горно-предгорной жизни =)
 
Gor Vardanyan's Avatar
 
Join Date: 02 2005
Location: Multiverse
Age: 34
Posts: 962
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

esli tebe nujen full height color, to mojesh ispolzovat background image.
Vot primer _http://www.maxdesign.com.au/presentation/two-columns/final_fullwidth.htm
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 06:55.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.