My New Site Design

Design Forums > The Design Studio > Work/Project Feedback & Critique > My New Site Design


Reply
 
LinkBack Thread Tools Display Modes
Onartis is offline
Off-Topic Overlord
1,790 Posts
Belgium
So which one should I be looking at? I like the blue one better than the orange one



Twitter... Don't get any high expectations.
Portfolio... Coming some day soon, hopefully.
  Quote Post 21 Posted 18-01-09
Mikey is offline
Member
38 Posts
UK
The blue one


  Quote Post 22 Posted 18-01-09
Jazajay is offline
All round nice guy
1,215 Posts
Leicester, UK
Hay Onartis
A white-space: rule, in this case pre, is the same as using the html pre tags
<pre></pre>

It keeps all white space including line breaks as it is.
So if you write ~
<p>
Hello
my
name
is
Onartis
</p>

What would happen?
It would be outputed to the browser as ~
Hello my name is Onartis

As you have not used any br tags.
If however you give it a rule of pre, or use pre tags~
<pre>
Hello
my
name
is
Onartis
</pre>
It would be outputted as

Hello
my
name
is
Onartis

Without the use of the br tag, thus cutting code bloat.

Hope it helps
Jaz

Key:
Purple ~ XHTML



Do your bit keep children safe and report illegal content to the IWF.
ADHD or a reaction to food additives? The Hyperactive Children's Support Group
Ever wondered how to create a contact form for your site? Then follow this easy tutorial
Does your site meet the legal requirements of the DDA? Not sure then find out if it does

Last edited by Jazajay; 18-01-09 at 08:23 PM.. Reason: Spelling
  Quote Post 23 Posted 18-01-09
Onartis is offline
Off-Topic Overlord
1,790 Posts
Belgium
So it adds a breakline every time your browser meets a point where you hit the return key or does it break the line after/in front of each word?

Are there other options than pre ?



Twitter... Don't get any high expectations.
Portfolio... Coming some day soon, hopefully.
  Quote Post 24 Posted 18-01-09
Jazajay is offline
All round nice guy
1,215 Posts
Leicester, UK
It presevres the white space within the tag with the rule.
So the first example you give. :-)

Jaz



Do your bit keep children safe and report illegal content to the IWF.
ADHD or a reaction to food additives? The Hyperactive Children's Support Group
Ever wondered how to create a contact form for your site? Then follow this easy tutorial
Does your site meet the legal requirements of the DDA? Not sure then find out if it does
  Quote Post 25 Posted 19-01-09
Tags: design, site
Reply

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



vBulletin® Copyright ©2000-2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0