There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Html Trouble!


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
sarah-jane's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Jul 2007
Experience: Intermediate
08-Jul-2007, 07:43 PM #1
Html Trouble!
Please help...

this is what i have for my "about me" section on myspace...

<center> <font face="times"> <font size=14> <color="FFFFFF"> <b> <p> **writing** <p> **photojournalism** <p> **rock n roll** <p> **films** <p> **trees** <p> **sci-fi** <p> **people** <p> </b> </color> </font> </center>

the actual layout is coming up fine with the spacing in between lines, however it is still coming up in normal font size (quite small), it is not bold and it comes up black, not white.

what am i doing wrong?? please help!!!
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
08-Jul-2007, 09:24 PM #2
Not exactly sure what you want, but you can play with this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>About me</title>
        <style type="text/css">
            body {
                margin: 0;
                padding: 8px;
                color: #fff;
                background: #000;
            }
            ul.interests {
                list-style: none;
                margin: 0;
                padding: 0;
                font-family: Times, sans-serif;
                font-size: 3.1em;
                font-weight: bold;
            }
            ul.interests li {
                text-align: center;
                padding: 10px;
                margin: 0;
            }
        </style>
    </head>
    <body>
        <ul class="interests">
            <li>**writing**</li>
            <li>**photojournalism**</li>
            <li>**rock n roll**</li>
            <li>**films**</li>
            <li>**trees**</li>
            <li>**sci-fi**</li>
            <li>**people**</li>
        </ul>
    </body>
</html>
sarah-jane's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Jul 2007
Experience: Intermediate
08-Jul-2007, 11:50 PM #3
thanks a lot for your help hey, it didnt work either. maybe it is my browser.. argh so frustrating.
dez_666's Avatar
Computer Specs
Senior Member with 856 posts.
 
Join Date: May 2007
Location: Kalifornya
Experience: Advanced
09-Jul-2007, 08:20 AM #4
you need to use in-line CSS to get the effect you're looking for. try learning about in-line CSS here.

http://www.tizag.com/cssT/inline.php
OneLuv's Avatar
Computer Specs
Senior Member with 197 posts.
 
Join Date: Dec 2006
Location: Brown Deer, WI
Experience: I know a little:)
09-Jul-2007, 01:30 PM #5
you are trying to set the color and size for a particular section correct? Did you set text color when you were setting your <body> parameters? Also a way out could be to use the heading tags since you are centering it. <h2></h2> . I'd go with Mr. dez the little I learned about CSS makes coding that much easier.
__________________
It's a figment of my imagination.

Computer Specs:
Dell Dimension E521
AMD x2 3600+
2G RAM Dual Channel
Vista Home Premium
320gig internal HDD
500gig exteranl HDD
sarah-jane's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Jul 2007
Experience: Intermediate
10-Jul-2007, 04:23 AM #6
ill give it a go! thanks guys
JRWalker's Avatar
Computer Specs
Member with 43 posts.
 
Join Date: May 2007
Location: Cache Valley
Experience: Intermediate
15-Jul-2007, 11:43 PM #7
sarah-jane,
If you want to get rid of the table set the border = "0", and to get rid of the background color remove the bgcolor = "D3D3D3". This way you don't have to worry about the css.

Code:
<table bgcolor = "#D3D3D3" border = "1" align = "center">
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Writing**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Photo Journalism**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Rock-n-Roll**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Films**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Trees**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**Sci-fi**</td>
	</tr>
	<tr align = "center">
		<td align = "center" style = "font: Bold 14px Times sans-serif; color: #FFFFFF">**People**</td>
	</tr>		
</table>
Reply


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

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 Off
Refbacks are Off

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 12:30 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.