CSS

S

Samir

Is the only way to get make changes on all pages with just one time is using
cascading style sheets? Is there any other option other than CSS??
 
S

Samir

There's nothing wrong with css. I am new to web design and I thought there
might be newer technology that's all. I never used css before.
 
A

Aaron [SQL Server MVP]

It could be, for example instead of using CSS (which is a pain to make
cross-browser friendly), you could do this:

css.asp:

<%
br = request.serverVariables("HTTP_USER_AGENT")
if instr(br, "MSIE") > 0 then
fontsize = 3
else
fontsize = 2
end if
%>

anyother.asp:

<!--#include file=css.asp-->
<table>
<tr>
<td><font size=<%=fontsize%>>Blah</td>
</tr>
</table>

He also might not have been talking about CSS, maybe he doesn't even know
what CSS is. Which is why I asked what kind of changes he was talking
about.
 
R

Ray at

A global include file that has CSS in it?
A text editor that will do a mass find and replace?

Is there some opposition to CSS?

Ray at home
 
A

Aaron [SQL Server MVP]

*sigh*

You still haven't given us a clue about what you're trying to accomplish.
"of its kind"... kind of WHAT???
 
S

Samir

I am not trying to specifically to anything. I just wanted to know if doing
css is worth it or not that's all. I know that css is able to do formatting
to all pages it's linked on. I guess what I am trying to say is...do
profressional web sites use css?? What do prof. web sites use?
 
R

Ray at

It is worth it. It's no fun going back through all your old pages and
updating them with a CSS file after you've done it the "old school" way. :]

CSS--yes!

Ray at work
 
J

Jeff Cochran

Is the only way to get make changes on all pages with just one time is using
cascading style sheets? Is there any other option other than CSS??

Try the CSS group for answers, it's not an ASP question.

Jeff
 
M

Maarten

Try the CSS group for answers, it's not an ASP question.

Like i already asked. Is CSS ASP Code?

And if you use CSS, keep ip simple in your pages. Don't become a Picasso or
Dali.
Define a style for BODY, TABLES, TABLEHEADER, CELLS, IMAGES and some texts
(small, normal, big)

If you want to learn CSS go to www.w3schools.com
Maarten
 
D

Dave Anderson

Maarten said:
Like i already asked. Is CSS ASP Code?

And like you continue to ignore, the questions asked if CSS was the only way
to accomplish flexible global look-and-feel management. It is not (though
many of us would assert it is the only sane way), and there are ASP
alternatives (using global includes, for exemple).


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
S

shank

Samir - for CSS help go to alt.html group. If you are going to design
websites, you will be much much happier if you learn CSS. Maybe not so much
in your initial draft, but if you want to do the final touches, you will
need CSS. Imagine you've built a 20-30 page site for a client or yourself.
Today, your client wants paragraph text smaller and a different color.
Tomorrow, something else. Make the titles bolder and more blue. Make all the
currency values red. This could go on forever. Anyway, designing within the
page tags and changing all those freakin' pages would drive you nuts.
However, if you learned CSS, you'd be editing a couple values in one text
file for the whole site. You could change things in seconds while your
client is across the world viewing it live. In short, take the time to learn
CSS "correctly". It's a must. It's here and it's not going away. Good Luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top