Thanks, I've worked through several "liquid / fluid css columns" tutorials, but none of them seem to address the issue of having a truly dynamically sized column determining the remaining space for the rest (but rather, the other way round: center column is dynamically sized, determined by a fixed size side column).
Obviously I'm missing something, would you know any particular tutorial or explanation that clears this up?...
User Profile
Collapse
-
[CSS] column layout without explicitly setting sizes, how!?
Having trouble creating a layout with certain conditions like this: (with CSS)
Using tables, it's no problem. But I'm trying to accomplish the same result with CSS instead of tables, and whatever I try (span/div with float, multiple containers, etc), nothing seems to work, or suddenly B wraps under A and C instead of keeping column, etc... :(
My needs: column A should be as wide as required for its content.... -
Thanks a lot for your detailed reply! I will study it in detail and experiment with it :)
Cheers!Leave a comment:
-
Aligning form labels and fields: easy with table, how with CSS?
When putting a form on a webpage, I prefer the labels and edit boxes for all fields to be aligned, e.g. like this:
This is easily done by putting it all in a table. What is the best way to do this properly with CSS?
Note: I don't want to define fixed widths for certain columns or whatever. The width for the labels should just be automatically as much as necessary to fit the widest label.
... -
Ah thanks, never knew that :)
But I really need <form> tags to get the selection thing actually working. So do you know any other way (other than form inside span, I mean) to get that working?
Are you sure? I just tried it here and although the span part and logo are no at the same height, it seems they're now *both* below the div... What used to be a black border is now a single black line above everything. ...Leave a comment:
-
Thanks, that seems to be somewhat in the right direction!
But two problems arise:
1. The radiobutton thing appears below (outside) the container
(tested with Firefox and IE7, in Opera it looks OK)
2. When putting actual <form> and </form> tags around the input thing, it gets messed up even more :(
(it seems to enforce a linebreak before form or something, but I really need form tags to...Leave a comment:
-
Bram2 started a topic Aligning logo, icon, text, and selection box. Should be extremely easy, but..?in HTML CSSAligning logo, icon, text, and selection box. Should be extremely easy, but..?
Sorry if this sounds like a dumbass newbie question. I'm getting crazy or something, but somehow I can't get this simple thing to work:
1. In general, how do I center text and/or images vertically?
2. How would I do a top bar with a logo on the left, and an icon + text + combobox (small form with one select item) on the right, all vertically centered to eachother?
Like this:
And with "how",... -
Create a graphical button with img and text?
I'm trying to create a graphical button with custom images and text on it. My approach was to split the generic button image into 3 parts:
(Note: I stored these locally as 'button_left.gi f', 'button_middle. gif' and 'button_right.g if')
Then create a borderless table with these images as background, and put the desired content (text and/or images such as this random icon.gif) in the middle.
Below...
No activity results to display
Show More
Leave a comment: