Click here to Skip to main content
15,913,685 members
Home / Discussions / Web Development
   

Web Development

 
QuestionIE, FF and Netscape incompatibilty using DIVs [modified] Pin
hint_5413-Aug-06 15:54
hint_5413-Aug-06 15:54 
AnswerRe: IE, FF and Netscape incompatibilty using DIVs Pin
eggsovereasy14-Aug-06 9:04
eggsovereasy14-Aug-06 9:04 
GeneralRe: IE, FF and Netscape incompatibilty using DIVs Pin
hint_5414-Aug-06 10:18
hint_5414-Aug-06 10:18 
AnswerRe: IE, FF and Netscape incompatibilty using DIVs Pin
Guffa14-Aug-06 11:32
Guffa14-Aug-06 11:32 
AnswerRe: Who showed respect of me? Pin
Colin Angus Mackay13-Aug-06 12:53
Colin Angus Mackay13-Aug-06 12:53 
GeneralRe: Who showed respect of me? Pin
Colin Angus Mackay13-Aug-06 13:06
Colin Angus Mackay13-Aug-06 13:06 
QuestionSMIL Question Pin
Tamimi - Code12-Aug-06 21:14
Tamimi - Code12-Aug-06 21:14 
QuestionCSS Question about floats Pin
matthias s.11-Aug-06 23:25
matthias s.11-Aug-06 23:25 
hi there, before I start to explain the whole story, just some css (sample can be viewed here 'http://travalla.com/playground/screwed.htm'):

* { margin:0px; padding:0px; color:#fff;}
body { width:900px;}
#menubar { float:left; padding:10px; width:205px; background-color:#333;}
#content { float:left; width:600px; margin:0px 0px 30px 30px; padding:10px; background-color:#555;}
#content #contentimage { background-color:#777;}
#content #contentimage #info {}
#content #contentimage img { float:left;}

here the corresponding html:
<body>
<div id="menubar">menubar</div>
<div id="content">
<div id="contentimage">
<img src="img.png" />
<div id="info">A nice house in Berlin</p></div>
</div>
<h1>Screwed up test page!</h1>
<p>A longer text. A longer text. A longer text. </p>
</div>
</body>

what I'd like to achive is to have the #info part right aligned in the #contentimage section, whereas the img is left aligned (top edge of the image should be equal to the top edge of the text contained in #info) but using the css above, the h1 and p tag jump right up as well, screwing up everything. the document should continue below the image.

i would use a fixed height of the contentimage box, but I can't, for I don't know how tall the images are. i've spend now several hours testing around with clears, floats, display:block's and the like...

could you help me with this (and turn the saturday into a saturday again)?

regards, prokop

/matthias

I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
AnswerRe: CSS Question about floats Pin
Guffa12-Aug-06 2:22
Guffa12-Aug-06 2:22 
QuestionClear Text in [input type=file] [modified] Pin
manowj11-Aug-06 0:15
manowj11-Aug-06 0:15 
AnswerRe: Clear Text in [input type=file] Pin
George L. Jackson11-Aug-06 14:04
George L. Jackson11-Aug-06 14:04 
GeneralRe: Clear Text in [input type=file] [modified] Pin
manowj11-Aug-06 19:07
manowj11-Aug-06 19:07 
AnswerRe: Clear Text in [input type=file] Pin
George L. Jackson12-Aug-06 2:16
George L. Jackson12-Aug-06 2:16 
GeneralRe: Clear Text in [input type=file] Pin
manowj13-Aug-06 19:13
manowj13-Aug-06 19:13 
GeneralRe: Clear Text in [input type=file] Pin
George L. Jackson15-Aug-06 3:32
George L. Jackson15-Aug-06 3:32 
GeneralRe: Clear Text in [input type=file] Pin
manowj15-Aug-06 18:39
manowj15-Aug-06 18:39 
QuestionAny online free resouce for internet security Pin
Suj_7810-Aug-06 22:55
Suj_7810-Aug-06 22:55 
AnswerRe: Any online free resouce for internet security Pin
Kevin McFarlane10-Aug-06 23:18
Kevin McFarlane10-Aug-06 23:18 
QuestionDotNetNuke web hosting setup Pin
karanjsingh10-Aug-06 17:02
karanjsingh10-Aug-06 17:02 
AnswerRe: DotNetNuke web hosting setup Pin
Colin Angus Mackay13-Aug-06 13:11
Colin Angus Mackay13-Aug-06 13:11 
GeneralRe: DotNetNuke web hosting setup Pin
karanjsingh14-Aug-06 18:34
karanjsingh14-Aug-06 18:34 
Questionflash and php Pin
manimegalai82@gmail.com10-Aug-06 11:06
manimegalai82@gmail.com10-Aug-06 11:06 
Questiondrop down on mouseover Pin
manimegalai82@gmail.com10-Aug-06 10:58
manimegalai82@gmail.com10-Aug-06 10:58 
AnswerRe: drop down on mouseover Pin
ramuvk10-Aug-06 20:18
ramuvk10-Aug-06 20:18 
GeneralRe: drop down on mouseover Pin
manimegalai82@gmail.com11-Aug-06 2:17
manimegalai82@gmail.com11-Aug-06 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.