Click here to Skip to main content
16,008,010 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How to get the right URL before navigating the web page in the CHtmlView? Pin
Shog918-Oct-05 6:51
sitebuilderShog918-Oct-05 6:51 
QuestionRun time Skinchanger Pin
Member 436532117-Oct-05 4:58
Member 436532117-Oct-05 4:58 
QuestionCSS & DIV Layout problem witth images and floats... help! :) Pin
ModuleKev17-Oct-05 3:20
ModuleKev17-Oct-05 3:20 
AnswerRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
Shog918-Oct-05 7:07
sitebuilderShog918-Oct-05 7:07 
GeneralRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
ModuleKev19-Oct-05 2:25
ModuleKev19-Oct-05 2:25 
GeneralRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
Shog919-Oct-05 6:44
sitebuilderShog919-Oct-05 6:44 
GeneralRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
ModuleKev19-Oct-05 6:58
ModuleKev19-Oct-05 6:58 
AnswerRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
Shog919-Oct-05 8:34
sitebuilderShog919-Oct-05 8:34 
Unfortunately, it's not quite that simple. Think about float as telling the layout "put this element to the [left|right] of, or below, what comes after". So, looking at the first five images:

  1. (top left) Floats to the left of #2
  2. (right of #1) Floats to the left of #3
  3. (right of #2) Would float to the left of #4, but there's no room for #4 left of #3 on the line, so #4 wraps to a new line
  4. (2nd from top, left) Floats to the left of #5
  5. (2nd from top, 2nd from left) Floats to the left of #6...


You see why #4 & #5 won't appear next to #3 in this layout, right? Now, if you can change #3 to float right, it'll work: the first two would float left of it, while it would float right of the next two. Of course, if the containing box became narrower or wider, this wouldn't look right either.

So what do you do? In my experience, once your layout needs get to this level of complexity you need to write a custom layout manager in javascript. Call it every time an element is added or deleted, and when the container resizes. Failing that, accept the anomalies or make your images identical in size.


GeneralRe: CSS & DIV Layout problem witth images and floats... help! :) Pin
ModuleKev19-Oct-05 22:41
ModuleKev19-Oct-05 22:41 
QuestionProblem with webservice in production env Pin
Dario Solera17-Oct-05 0:52
Dario Solera17-Oct-05 0:52 
AnswerRe: Problem with webservice in production env Pin
Rob Philpott17-Oct-05 1:00
Rob Philpott17-Oct-05 1:00 
GeneralRe: Problem with webservice in production env Pin
Dario Solera17-Oct-05 1:04
Dario Solera17-Oct-05 1:04 
GeneralRe: Problem with webservice in production env Pin
Rob Philpott17-Oct-05 1:15
Rob Philpott17-Oct-05 1:15 
GeneralRe: Problem with webservice in production env Pin
Dario Solera17-Oct-05 3:32
Dario Solera17-Oct-05 3:32 
Questioncannot create a new web application Pin
YoungLearner16-Oct-05 0:42
YoungLearner16-Oct-05 0:42 
AnswerRe: cannot create a new web application Pin
Vasudevan Deepak Kumar17-Oct-05 0:35
Vasudevan Deepak Kumar17-Oct-05 0:35 
AnswerRe: cannot create a new web application Pin
Manuel F. Hernandez17-Oct-05 14:19
Manuel F. Hernandez17-Oct-05 14:19 
QuestionRe: cannot create a new web application Pin
Anonymous17-Oct-05 16:46
Anonymous17-Oct-05 16:46 
Questionsearching from first character Pin
Nighth@wk16-Oct-05 0:33
Nighth@wk16-Oct-05 0:33 
AnswerRe: searching from first character Pin
Guffa16-Oct-05 1:49
Guffa16-Oct-05 1:49 
GeneralRe: searching from first character Pin
Nighth@wk16-Oct-05 2:40
Nighth@wk16-Oct-05 2:40 
GeneralRe: searching from first character Pin
Guffa16-Oct-05 7:18
Guffa16-Oct-05 7:18 
Questionshow/hide div element with dhtml Pin
James Brown15-Oct-05 10:59
James Brown15-Oct-05 10:59 
AnswerRe: show/hide div element with dhtml Pin
Guffa16-Oct-05 2:02
Guffa16-Oct-05 2:02 
Questiontry in asp with javascript Pin
karanba14-Oct-05 21:24
karanba14-Oct-05 21:24 

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.