10 replies [Last post]
Alfred Laws
Offline
newbie
Bern, Switzerland
Last seen: 15 years 27 weeks ago
Bern, Switzerland
Joined: 2005-04-15
Posts: 8
Points: 0

Hi,

my own homepage, i made it on work for a project
http://www.alfredlaws.com/

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 31 weeks 15 hours ago
Joined: 2004-06-30
Posts: 9668
Points: 801

Please check

Nice, although you'r doctype is missing the url

(:oops: sorry, coudn't help myself)

I like the style changer, my favourite is the first style, not too keen on style 4.

It seems a bit empty; I'm sure it will look better once you add in some content.

I also see you promote the Valid CSS - why not iron out those tiny HTML errors and promote the valid html too?

Verschwindende wrote:
  • CSS doesn't make pies

larmyia
Offline
Elder
London
Last seen: 12 years 5 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Please check

I must say am not a fan of green, but am strangly attracted to your first style. looking forward to seeing where it goes.

larmyia

Alfred Laws
Offline
newbie
Bern, Switzerland
Last seen: 15 years 27 weeks ago
Bern, Switzerland
Joined: 2005-04-15
Posts: 8
Points: 0

Please check

thx for comments and hints Smile

I fixed the doctype-fault, but to I'm not shure if i can ever validate it as HTML, because I use PHP on this site.

Greets

Anonymous
Anonymous's picture
Guru

Please check

Alfred Laws wrote:
I'm not shure if i can ever validate it as HTML, because I use PHP on this site.
php outputs html...in fact, it outputs the html you tell it to output and only the html you tell it to output.

Alfred Laws
Offline
newbie
Bern, Switzerland
Last seen: 15 years 27 weeks ago
Bern, Switzerland
Joined: 2005-04-15
Posts: 8
Points: 0

Please check

hmm..u are right Smile

the validater says that the "?" in the url is false...

how kann i avoid this?

Anonymous
Anonymous's picture
Guru

Please check

Alfred Laws wrote:
the validater says that the "?" in the url is false...how kann i avoid this?

Instead of having<a href=index.php?site=home&PHPSESSID=5a9e759445c4514c28c>put quotes around the uri:<a href="index.php?site=home&PHPSESSID=5a9e759445c4514c28c">That should do it.

Then you need to replace all your instances of & with &am p; (without the space between the m and p)

Alfred Laws
Offline
newbie
Bern, Switzerland
Last seen: 15 years 27 weeks ago
Bern, Switzerland
Joined: 2005-04-15
Posts: 8
Points: 0

Please check

i will try, thx for your hints.

i dunno if i do it soon, because i just started a new project without php, more css-focus

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

Please check

Is that a php session register style changer ?

You could try using this piece of code in the page just after your session_start() line:

ini_set( 'arg_separator.output' , '&amp;' );

this should convert any ampersands to the entity sign.

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

Spectralizer
Spectralizer's picture
Offline
Enthusiast
Toronto, ON. Canada
Last seen: 15 years 30 weeks ago
Toronto, ON. Canada
Timezone: GMT-5
Joined: 2005-03-30
Posts: 53
Points: 0

Please check

Here's an other way you can give access to your alternate styles:

<link rel="stylesheet" title="Pink (Default)" href="pink.css" type="text/css" />
<link rel="alternate stylesheet" title="Purple" href="purple.css" type="text/css" />
<link rel="alternate stylesheet" title="Gold" href="gold.css" type="text/css" />

In Firefox you can select these alternates from the "View...Page Style..." menu!

This is my .sig... there are many like it, but this one is mine.
My .sig is my best friend... It is my life.
I must master it as I must master my life.
My .sig, without me, is useless... Without my .sig, I am useless.

Alfred Laws
Offline
newbie
Bern, Switzerland
Last seen: 15 years 27 weeks ago
Bern, Switzerland
Joined: 2005-04-15
Posts: 8
Points: 0

Please check

Yeah its a PHP-Session Style-Changer.

I tried ur hint, and i got 10 errors less when i validate Smile

thx alot!

edit:
I knew thats there would be this way to change the style, but when i need a style-changer, i didn't knew it^^
so a friend made me this php-stylechanger. next time i think i will use the "alternate" method