/    Sign up×
Community /Pin to ProfileBookmark

What is the best way – In your opinion

What is the best way to create the following style – see attached image

[url]http://www.webdeveloper.com/forum/attachment.php?attachmentid=7850&stc=1[/url]
example.JPG

I want to create a site like [SIZE=3][COLOR=Red][B]A[/B][/COLOR] [/SIZE]and not like [SIZE=3][COLOR=Red][B]B[/B][/COLOR][/SIZE]

I need to colums of equal width – i’ve tried floating one but the results are different in both browsers (IE & Firefox) – what is the best way

Should i turn to using a table for the colums part – yeah

[upl-file uuid=d3f5e220-d3cd-47d1-ba39-e46b5013ff69 size=10kB]example.JPG[/upl-file]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzOct 27.2006 — I might float one and give a left or right margin to the other depending on how I wanted to order them in the source versus which one I wanted to display on each side.

Do you want them to be fixed width, fluid, or elastic?

These might help:

[url=http://www.456bereastreet.com/archive/200504/about_fluid_and_fixed_width_layouts/]About fluid and fixed width layouts[/url]

[url=http://www.456bereastreet.com/archive/200504/fixed_or_fluid_width_elastic/]Fixed or fluid width? Elastic![/url]
Copy linkTweet thisAlerts:
@David_HarrisonOct 27.2006 — Should i turn to using a table for the colums part - yeah[/QUOTE]No, bad bad bad. That's not what tables are for, CSS is much more powerful and can do pretty much everything you like. I've come across very few instances in which CSS couldn't do the job.

Here's a couple o' columns, equal width, done in CSS.

[upl-file uuid=d304ab56-bbcc-4d57-a999-6e8c816bd800 size=813B]oo7ml.zip[/upl-file]
Copy linkTweet thisAlerts:
@oo7mlauthorOct 27.2006 — thanks guys
×

Success!

Help @oo7ml spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...