1 reply [Last post]
orbitakom
Offline
newbie
Last seen: 6 years 41 weeks ago
Timezone: GMT+6
Joined: 2016-08-09
Posts: 1
Points: 2

hi i I have a question can page in web site be styled in diffeent way from other web pages saparetely

I mean can 1 page be stylied in other way like size of navigation and different color and different logo image?

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

Sure

It's not usually a good idea to stray too far away from the normal page as you may confuse your visitor regarding which site he's on.

For a simple example:

body {
    background-color: white;
    color: black;
    font: 100%/125% sans-serif;}
 
p {
    font-size: 1em;}
 
body#oddball {
    background-color: black;
    color: white;}
 
#oddball p {
    font-weight: bold;}

In the example, you need only note those items that are changed on the page which has body id of oddball.

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.