49 replies [Last post]
salsabrosa
salsabrosa's picture
Offline
newbie
Last seen: 14 years 4 weeks ago
Joined: 2007-03-22
Posts: 8
Points: 0

As I began for the first time trying to convert existing HTML page into a CSS layout I kept finding myself changing my approach over and over. I was just overwhelmed trying to figure it out.

Is this design even possible in CSS?? Ideally I would like to make the page fluid. I began using sort of a three-column layout. Left column, fixed width. Middle column fluid width. Last column, Im not sure, maybe it would contain the rounded rectangle edges?? I am going to move the navigation up to the top. Would this need a separate header div that expands all the way across and contains the nav???

Here's a link to the HTML version:
rosa-gonzalez.com/richdelightv3_site

I even tried referring to these layouts, but none of them seemed to be quite right for my design. Maybe Im just not using the right one at all:
http://blog.html.it/layoutgala/
http://www.maxdesign.com.au/presentation/page_layouts/

I am so frustrated. I feel like I'm not learning this CSS stuff fast enough.

I guess my questions are:
How would you approach this conversion? What layout method would work best? Is a fluid layout possible with this design?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CSS takes time to master

CSS takes time to master don't be under the illusion that one picks it overnight, treat it with a lot of respect for it is infinitely powerfull and flexible with countless variations in approaches that may be taken to arrive at the same outcome.

If you are not sure whether a layout should be fluid then go for fixed, unless you understand the subtleties of fluid layouts and exactly how your design would fill fluid space it is best to stick to fix widths untill your understanding is deeper.

Have you fleshed anything out yet? we tend to like to see what has been attempted before we start to offer guidance it also helps to understand the competence level.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

salsabrosa
salsabrosa's picture
Offline
newbie
Last seen: 14 years 4 weeks ago
Joined: 2007-03-22
Posts: 8
Points: 0

I have concrete knowlegdge

I have concrete knowlegdge of the fundamentals of CSS and use it formatting purposes all the time. However, I am a beginner when it comes to page layouts/positioning. As I mentioned, this is my first attempt at creating a pure CSS layout.

I have one of my attempts back at home, sorry about that. Didnt want to post because it was unfinished and I just felt like scrapping it anyway and starting anew....again. lol

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

There is I'm afraid a world

There is I'm afraid a world of difference between simple formatting and styling and in using the full range of CSS properties to effect CSS-P, and it will feel at times as though it's a bit of a struggle Smile

It would help to see how your thinking is running with your attempts though at this layout conversion.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

salsabrosa
salsabrosa's picture
Offline
newbie
Last seen: 14 years 4 weeks ago
Joined: 2007-03-22
Posts: 8
Points: 0

I'll try to get my attempt

I'll try to get my attempt posted once I get home today.

But I was also looking for more of tips on how others go about deciding how to chop up their design into divs and background images, etc. I guess that's the part Im stuck on...the "planning" aspect of it, even before attempting to code it.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 1 year 6 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

salsabrosa wrote:how to chop

salsabrosa wrote:
how to chop up their design into divs and background images, etc.

Forget about layout. Mark up your content for what it is - headers, paragraphs, lists, etc, and THEN we work on styling.

Verschwindende wrote:
  • CSS doesn't make pies

salsabrosa
salsabrosa's picture
Offline
newbie
Last seen: 14 years 4 weeks ago
Joined: 2007-03-22
Posts: 8
Points: 0

Quote:Forget about layout.

Quote:
Forget about layout. Mark up your content for what it is - headers, paragraphs, lists, etc, and THEN we work on styling.

I've got the separation of style and structure down. I did in fact start out with all of my content.

I do appreciate the the tips guys. I guess there's no one answer on how I should approach converting my design.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

You must understand, you've

You must understand, you've shown us nothing to work with. You said you have the content fully marked up with html; show us that. Show us the css you've attempted and a sketch of what you're trying to achieve, and we can discuss the pros and cons of your attempt pedagogically[1].

//edit: Sorry, I forgot about the table based page. It is obviously the model for layout.

cheers,

gary

[1] Here's another word, Hugo, that can't actually be muttered aloud. Laughing out loud

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

kk5st

kk5st wrote:

pedagogically[1]
[1] Here's another word, Hugo, that can't actually be muttered aloud. Laughing out loud

Laughing out loud
something to do with bicycles isn't it?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Hugo wrote:kk5st

Hugo wrote:
kk5st wrote:

pedagogically<snip>
Laughing out loud
something to do with bicycles isn't it?

There are those, among the great unwashed masses, those denizens of the web, who by their appreciation of an erudite, nay, may we say abstruse, civilized, cultivated, cultured, deep, educated, encyclopædic, learned, lettered, literate, pansophic, profound, scholarly, well-read, wise and perhaps a bit esoteric or arcane vocabulary, stand out as gentlemen and scholars.

:shrug: There are so few of us left.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

kk5st wrote:There are those,

kk5st wrote:
There are those, among the great unwashed masses, those denizens of the web, who by their appreciation of an erudite, nay, may we say abstruse, civilized, cultivated, cultured, deep, educated, encyclopædic, learned, lettered, literate, pansophic, profound, scholarly, well-read, wise and perhaps a bit esoteric or arcane vocabulary, stand out as gentlemen and scholars.

That sounds like a load of bollox to me Laughing out loud

Life's a b*tch and then you die!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

roytheboy wrote:That sounds

roytheboy wrote:
That sounds like a load of bollox to me Laughing out loud

Philistines, I say! I am surrounded by Philistines!

Tongue

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 4 years 31 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Not so Gary.

Not so Gary.

Your loquaciousness suggests you are an erudite scholar.

And as for padagogy and pedagogically (etc) in my profession you are required to be able to say it (teacher).

I just can't spell well Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

A load of bollox it may be,

A load of bollox it may be, but one is minded of the fact that:

Those that have an understanding of the recondite nature of the language that they use to express their thoughts, will, often have a proclivity to embellish those thoughts, and to the casual exoteric reader this may appear to be of a prodigal nature, but it is in fact importunate of that reader to understand the profundity of these words and one would hope that they did not take a pertinacious attitude towards what is written but instead attempt to agglutinate with the writer and hopefully gain some increased knowledge at the deeper expressive ability obtained through an arcane understanding of the language, that is, however, not cabalistic in nature but in truth apprehensible to the multitude.

We must be careful though not to take a dogmatic view of those that choose the obdurate path and dismiss such erudition with reference to anatomical features thus demonstrating a insensible position.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

ClevaTreva wrote:Your

ClevaTreva wrote:
Your loquaciousness suggests you are an erudite scholar.

I find your equivocatory obsequiousness to be quite vexatious.

Life's a b*tch and then you die!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Indeed; I find the

Indeed; I find the approbation of the remarks to be somewhat overly obeisant.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

So; what was the OP's

So; what was the OP's question again?

Life's a b*tch and then you die!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Question? Oh don't tell me

Question? :?

Oh don't tell me we've managed to de-rail yet another thread :rolleyes:

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

roytheboy wrote:So; what was

roytheboy wrote:
So; what was the OP's question again?

I think we're waiting for him to get a word in edgewise. Either that or for his code.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Just sitting here drumming

Just sitting here drumming our fingers on the desk, ho hum. OP probably fled in horror though from all this arcane drivel that's been spouted.

Apologies OP! pleasepost your code so that we can assist and cease the rabid ramblings of deranged coders minds

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 9 years 14 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

man, 40 trips to answers.com

man, 40 trips to answers.com and I still have no idea what you intellects are going on about Wink

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

I prefer to use dict, a

I prefer to use dict, a client for the Dictionary Server Protocol (DICT). DICT is a TCP transaction based query/response protocol that provides access to dictionary definitions from a set of natural language dictionary databases.

dict, the client, is, I believe, a default install on many modern OSes. OSX seems to hi-jack the DICT url, using its own dictionary.

I just noticed this: https://addons.mozilla.org/firefox/302/ This should help the poor legacy (read MSFT) OS users.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

I haven't a clue what Gary's

I haven't a clue what Gary's on about, I think it is just deliberate offilanariance

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Huh?

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 9 years 14 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

lo siento, yo no hablo

lo siento, yo no hablo espanol (but I did go to the dictionary again Wink )

Well, both dict and answers failed to tell me what offic offiliat offilanarafo offilanariance is.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Evil

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Hugo wrote:

Hugo wrote:

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

bien, entonces la palabra

bien, entonces la palabra para la noche esta 'pritemptulatious' rapido! a la dictinario por favour

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

What the f*** are you on

What the f*** are you on about? I know this is an international forum but aren't you taking things a bit too far! Can we return to the obscure long words please - at least I've got some chance of understanding those Laughing out loud

Life's a b*tch and then you die!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Ok ! So I was sitting,

Ok !

So I was sitting, having finished one of those frustrating days dealing with IE, staring at the screen , when that screen saver popped into life, and looking into that dark black void I couldn't help but to wonder whether if indeed a stars mass velocity did not fall off with radius in a galaxy as fast as the luminous mass as dictated by Newtonian law. So clearly stars towards the outer edge were rotating far too fast to be balanced by any gravitational forces contained within that luminous mass, thus the case for 'Dark Matter' had to be a very compelling one. With this in mind I further conjectured to myself whether in fact the Supersymmetric model was in fact a fairly likely candidate for an satisfactory representation of the fundamental structure of 'Dark Matter' since neutralinos are fermionic partners of the neutral gauge bosons and the Higgs field They would have high mass, yet interact very weakly, and those two qualities make them a good candidate for dark matter. On the other hand I also couldn't help but then consider the metaphysical conundrum that is the synergetic universe, ho hum.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 4 days 13 hours ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Sounds like someone has been

Sounds like someone has been reading the back of their cereal packet again.

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Hugo wrote:...On the other

Hugo wrote:
...On the other hand I also couldn't help but then consider the metaphysical conundrum that is the synergetic universe, ho hum.

...which becomes even more conundrumified [ good word, eh Wink ] when one ponders the question of how gravity actually works (in real, tangible terms as opposed to the theory that represents science's current best guess) i.e. is it really a 'pulling' force, or perhaps it's a 'pushing' force such as the mythical Tachyon Field, pushing matter towards a void in the Field, such as one might find where mass exists, such as a planet within a universe filled with a reasonably constant/consistant 'pushing' energy. And when one considers the case for and against an energy continuum such as the one that Nikola Tesla called "gravity field energy" when he managed to tap into it to extract energy supposedly from thin air, one has to stop and consider the impact that such a concept would have upon Dark Matter Theory and the synergetic universe as we know it. Ho hum indeed!

Life's a b*tch and then you die!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Cripes that wasn't covered

Cripes that wasn't covered on the back of my cereal packet, think thats part two I'm going to have to have another bowl to finish the packet off and go buy the next installment.

Gravity and Magnetism the two great mysteries. Magnatism that concept that we all take for granted yet defies many basic known and acepted physical laws, it has no power source ergo it cannot expend energy, it shouldn't happen

Gravity which will be fundemental to our eventual understanding of the fabric of the universe. Is Tesla's 'Gravity field energy' the 'glue' that binds the universe that holds matter to some restraint. Tesla did some somewhat mythical experiments did he not, using super huge versions of his 'Tesla Coils' attempting to warp the fabric of space and time.

As far as theories go I tend to like the Tachyon field one of pushing matter towards a void and have always been in admiration of that renowned physicist Roddenbery who I believe first postulated the theory of Tachyon energy and which was put to the test in practise on many occasion by the legendary explorer and scientist Picard.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 4 days 13 hours ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Hugo wrote:Gravity and

Hugo wrote:
Gravity and Magnetism the two great mysteries. Magnatism that concept that we all take for granted yet defies many basic known and acepted physical laws, it has no power source ergo it cannot expend energy, it shouldn't happen.

Surely not.

What is magnetism? Some small thing runs around in circles real fast. Some other things run around in circles real fast in the other direction. That provides an attraction for lots of other small things.

This effect is exhibited at football grounds around the country every Saturday afternoon. The power source is oranges (quartered).

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Ah yes but given that the

Ah yes but given that the spectator is the 'observer' in the Hiesenburg principle one cannot be certain that the 'orange' quartered or not is in fact the source as it is not possible to verify the true state of the 'orange' and that it is in a state of constant flux.

damn these cereal packets are just to incomplete

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Quantum physics and

Quantum physics and Heisenberg's uncertainty principle - whatever next!

...maybe the above could help explain why the OP has not returned to reclaim his thread about CSS-P.

Life's a b*tch and then you die!

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 4 years 31 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

The OP is far far away in

The OP is far far away in those hills and still running.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

roytheboy wrote:Quantum

roytheboy wrote:
Quantum physics and Heisenberg's uncertainty principle - whatever next!

...maybe the above could help explain why the OP has not returned to reclaim his thread about CSS-P.

I guess that in the act of observation of the nature of the poster reclaiming the thread we classically fall into the uncertainty principle and the more we describe the fact the more uncertain we must be that this is the case and as stated in fact a thread or particle may at once occupy co-existent space.

I think that now leads us neatly onto SuperString theory

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 9 years 45 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

I just KNEW that String

Laughing out loud I just KNEW that String theory was going to be next on the list of things to make a passing reference to in this never ending thread of intellectual jousting and obscure passing references to things that one refers to when one is jousting in an intellectual way with others who make obscure passing references to things that one refers to when one is jousting in an intellectual way with others who make obscure passing references to things that one refers to when one is jousting in an intellectual way with others who make obscure passing references to things that one refers to when one is jousting in an intellectual way with others who make obscure passing references.

...parp!

Life's a b*tch and then you die!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Now that really had me

Now that really had me thinking that we must ask Tony to improve the line spacing on paragraph text, There was me going "blimey can't seem to scan and focus to the next line what's up with me pea sized brain today?"

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 4 days 13 hours ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

I think the only conclusion

I think the only conclusion that can be drawn is the universe isn't position:fixed or absolute but relative. Elements are generally floated and complex elements are tend to be floated left more than right. Strings if they do exist, must be unobtrusive and can only exist in the javascript dimension. While some of this may be conjecture, one thing that is certain, tables occur only rarely.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Oh it always has to come

Oh it always has to come back to CSS similes, anyone would think that that was all we knew.

Actually bet you my last dollar that the Universe is in fact non standards and in fact employs a completely rigid deep nested table layout in ever decreasing spirals of cells disappearing into infinity.

That would put us in our place so to speak.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

davek7
davek7's picture
Offline
Enthusiast
Portland, Oregon
Last seen: 13 years 28 weeks ago
Portland, Oregon
Timezone: GMT-8
Joined: 2005-11-04
Posts: 172
Points: 1

Spacing around text

I enjoyed reading your conversation that I almost forgot what I was here for. Oh yes! I'm starting again to get a handle on CSS and started to redo a site I did long ago. I have a basic format and want to simply add some space between the image and the text to the right, http://www.anthonydellcellars.com/new.html

My CSS book is not showing me that simple style that you all know so well. What gives space between the image and text? padding? margin? I get confused.

What to do?

burlster
burlster's picture
Offline
Leader
Bournemouth
Last seen: 2 years 24 weeks ago
Bournemouth
Joined: 2007-05-31
Posts: 693
Points: 45

End of all that!

Hahaha, right, coffee break over, back to your desks...

And by the way, I got to 'pedagogically', threw it in to google with the word 'definition' and got the following:

"ped·a·gog·ic(pd-gjk, -gjk) also ped·a·gog·i·cal (-gj-kl, -gj-)
adj.
1. Of, relating to, or characteristic of pedagogy.
2. Characterized by pedantic formality: a haughty, pedagogic manner."

I gave up then!

Have YOU said Hello yet?
The CSSCreator Hello Thread

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

[pedagog] one who is a

[pedagog] one who is a schoolmaster.

Often they are also:

[pedants] boringly literal with it, focussing on the minute detail Smile

Your dictionary definition could be said to be rather pedantic in nature

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

davek7 wrote:I enjoyed

davek7 wrote:
I enjoyed reading your conversation that I almost forgot what I was here for. Oh yes! I'm starting again to get a handle on CSS and started to redo a site I did long ago. I have a basic format and want to simply add some space between the image and the text to the right, http://www.anthonydellcellars.com/new.html

My CSS book is not showing me that simple style that you all know so well. What gives space between the image and text? padding? margin? I get confused.

What to do?

It's a case of what suits the circimstances, there is no right or wrong way, with your layout the way it is you will have to do something like:

#content img {margin-right:1em;}

I would also perhaps decrease the padding on the #container to allow the img and paragraph in #content a little more room to breath but that's only my view and not necessary.

Now to the reasons you are using presentational attributes in your markup? is there one? remove all those attributes you control all presentation through stylesheet properties, classically the image should be floated left and positioned before the paragraph in the markup flow.

P.S why did you not start a new thread?

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

davek7
davek7's picture
Offline
Enthusiast
Portland, Oregon
Last seen: 13 years 28 weeks ago
Portland, Oregon
Timezone: GMT-8
Joined: 2005-11-04
Posts: 172
Points: 1

Hugo wrote:davek7 wrote:I

Hugo wrote:
davek7 wrote:
I enjoyed reading your conversation that I almost forgot what I was here for. Oh yes! I'm starting again to get a handle on CSS and started to redo a site I did long ago. I have a basic format and want to simply add some space between the image and the text to the right, http://www.anthonydellcellars.com/new.html

My CSS book is not showing me that simple style that you all know so well. What gives space between the image and text? padding? margin? I get confused.

What to do?

It's a case of what suits the circimstances, there is no right or wrong way, with your layout the way it is you will have to do something like:

#content img {margin-right:1em;}

I would also perhaps decrease the padding on the #container to allow the img and paragraph in #content a little more room to breath but that's only my view and not necessary.

Now to the reasons you are using presentational attributes in your markup? is there one? remove all those attributes you control all presentation through stylesheet properties, classically the image should be floated left and positioned before the paragraph in the markup flow.

P.S why did you not start a new thread?

Hugo.

I was enjoying your thread that I forgot. I'll start a new thread next time.Smile

What are the presentational attributes in the markup? I copied this basic css/html from another css site. It looked clean to me. How would you do it differently? Also, since I have a hard time grasping CSS, what is the proper way to start a style sheet. Should it have a body style to begin with?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

davek7 wrote: I was

davek7 wrote:

I was enjoying your thread that I forgot. I'll start a new thread next time.Smile

What are the presentational attributes in the markup? I copied this basic css/html from another css site. It looked clean to me. How would you do it differently? Also, since I have a hard time grasping CSS, what is the proper way to start a style sheet. Should it have a body style to begin with?

The presentational attributes were - iirc - align=""
anything that is to do with visual layout should be handled through CSS

Very briefly a stylesheet starts with a html,body rule set and is followed by all the generic site wide default styling i.e heading tag sizes, paragraph size/color, generic anchor styling any rules that are going to be required across the site, then try and describe your actual main structural rules for the layout i,e your wrapper, sidebar, content area, footer etc, then follow that group with the descendent nested elements that will live in the main areas.

There are no hard and fast rules just try and apply a little logic and try and mirror the flow of your css rulesets to as closely match the markup flow so things read from top to bottom as much as possible. Use comments to mark out stylesheet areas, think in terms of someone reading it and needing to quickly be able to identify rulesets to edit.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

davek7 wrote: I was

davek7 wrote:

I was enjoying your thread that I forgot. I'll start a new thread next time.Smile


Smile just re-read it, was one of the more amusing ones!

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me