| | |
Div position
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jul 2008
Posts: 2
Reputation:
Solved Threads: 0
hi all.
i have a problem in div usage.
my divs position image is in attachment.
and this is my html tags:
now i want that yellow div go up and grip to red div.
how i do this????
thanks for help.
i have a problem in div usage.
my divs position image is in attachment.
and this is my html tags:
HTML and CSS Syntax (Toggle Plain Text)
<div style="width:430px; height:100%"> <div style="width:100px; height:100px; float:right; border:1px solid #333333"> </div> <div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; background-color:#FF0000"> </div> <div style="width:100px; height:100px; float:right; border:1px solid #333333;margin-right:10px;"> </div> <br /> <div style="width:100px; height:100px; float:right; border:1px solid #333333; margin-top:10px"> </div> <div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; margin-top:10px; background-color:#FFFF00"> </div> <div style="width:100px; height:100px; float:right; border:1px solid #333333;margin-right:10px; margin-top:10px"> </div> <br /> </div>
now i want that yellow div go up and grip to red div.
how i do this????
thanks for help.
Hey mohammad_molana
please check this code and check it
please check this code and check it
HTML and CSS Syntax (Toggle Plain Text)
<div style="width:430px; height:100%;"> <div style="width:100px; height:100px; float:right; border:1px solid #333333;"> </div> <div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; background-color:#FF0000;"> </div> <div style="width:100px; height:100px; float:right; border:1px solid #333333;margin-right:10px;"> </div> <br /> <div style="width:100px; float:right; border:1px solid #333333; margin-right:10px; left:337px; top:128px; z-index:1; position:absolute; height: 100px;"> </div> <div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; background-color:#FFFF00; left:126px; top:40px; z-index:1; position:absolute; height: 18px;"> </div> <div style="width:100px; float:right; border:1px solid #333333; margin-right:10px; left:12px; top:126px; z-index:1; position:absolute; height: 100px;"> </div> <br /> </div>
Thanx,
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
![]() |
Similar Threads
- Getting the height and width of content fitting DIV element. (JavaScript / DHTML / AJAX)
- AutoScrolling a DIV tag (JavaScript / DHTML / AJAX)
- Image position ??? (HTML and CSS)
- Cross browser CSS (Site Layout and Usability)
- Image Position (Site Layout and Usability)
Other Threads in the HTML and CSS Forum
- Previous Thread: Any HTML Geeks Willing to Help?
- Next Thread: Horizontal and vertical scroll .
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





