There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Web Design & Development
Tag Cloud
adware audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freeze freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse network networking outlook 2007 power printer problem ram restart router screen slow sound trojan usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: New Webpage, New Look --- HELP!


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
erick295's Avatar
Distinguished Member with 2,156 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
17-Jun-2005, 11:55 PM #16
Quote:
Originally Posted by Gibble
You really shouldn't use tables to layout a site, tables are for data...
I'd have to disagree with you there... before CSS was common, tables were the #1 way to create layouts.
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,285 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
18-Jun-2005, 08:41 AM #17
Quote:
Originally Posted by erick295
I'd have to disagree with you there... before CSS was common, tables were the #1 way to create layouts.
CSS was created to solve a problem. Part of the problem was using tables for layout.
Do you want to be part of the problem, or part of the solution?

CSS was around since HTML 4.01
HTML 4.01 was created for the sole purpose of having CSS.

The reason "tables were the #1 blah blah blah" is because CSS wasn't invented yet. In HTML 3.2 and below, there was no CSS, so people had to use tables.
Not of choice, but because there was nothing else.

People are afraid of change (eventhough CSS has been around for a while), so that's why some people still use tables for layout. Because they are too scared to switch to a CSS layout.
__________________
-----------------------------
| 404: Name Not Found |
-----------------------------
PLEASE NOTE: If I happen to help you in a post, or just simply reply to it, doesn't mean I want to be bombarded with PMs. I answer all questions in posts, not in PMs. Thank you, and have a good day.

<?php $h = 'Hello '; $w = 'World'; echo $h.$w; ?>

My Favorite Editors:
Windows: Crimson Editor
Mac: Taco HTML Edit
Linux: gPHPEdit
§onic €hao's Avatar
Senior Member with 332 posts.
 
Join Date: Apr 2005
Location: Craryville, NY
Experience: Intermediate
18-Jun-2005, 08:53 AM #18
It is my site, so I can use both. But, I have to say that CSS is a little better. I need a CSS tag, one to highlight words. Can you tell me one 2 do so?
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,285 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
18-Jun-2005, 09:51 AM #19
Quote:
Originally Posted by §onic €hao
It is my site, so I can use both. But, I have to say that CSS is a little better. I need a CSS tag, one to highlight words. Can you tell me one 2 do so?
In your CSS file, put something like this.

.highlight {
background-color: yellow;
color: black;
}

Then in your HTML pages, where ever you want a word highlighted, just do this.

<span class="highlight">Text to be highlighted</span>

You can change the colors as desired.
§onic €hao's Avatar
Senior Member with 332 posts.
 
Join Date: Apr 2005
Location: Craryville, NY
Experience: Intermediate
18-Jun-2005, 11:32 AM #20
I know that much, that is not the problem. When I do that, it goes ACROSS the whole page (as a strip) I just want that ONE WORD higlighted. This is what I see:



I want the word highlighted, and not the whole thing. I used "TESTCODE" as a test to show you what happens. I am making this page to show someone how to use CSS. The code of that is:

<html>
<style type="text/css">
<!--
body { color: #FFFFFF; background-color: #000000; font-family: Script, Arial, Helvetica; font-size: 14px; }
.header { font-variant: small-caps; font-size: xx-large; text-align: center; }
.fineprint { font-size: small; font-variant: normal; position: absolute; left: 250px; }
.codeexample { background-color: #B0B0B0; color: black; }
-->
</style>
<body>
<div class="header">Cascading Style Sheets</div>
<div class="fineprint">All CSS noted is Firefox and M$IE compatible.</div>
<div class="codeexample">TESTCODE</div>
</body>
</html>
__________________
Running: Windows XP Home Edition, HP Pavilion dv1411se
Disk Space: Too much. XD
Firefox: Not working. D:

I have 13 Gmail Invites to FREELY give out! PM/email (sonicchao05 AT gmail DOT com) to get one!

Last edited by §onic €hao : 18-Jun-2005 11:32 AM. Reason: Wrong CODE!
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,285 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
18-Jun-2005, 11:47 AM #21
<div> tags stretch accross the whole page.

Change
<div class="codeexample">TESTCODE</div>
to
<span class="codeexample">TESTCODE</span>
§onic €hao's Avatar
Senior Member with 332 posts.
 
Join Date: Apr 2005
Location: Craryville, NY
Experience: Intermediate
18-Jun-2005, 11:52 AM #22
Thanks! ^_^ I never knew that. I will use <span> for these problems from now on. ^^
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:36 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.