Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 06-23-2010, 10:09 PM   #1
Daemon Poster
Join Date: May 2009
Posts: 690
Default font text help

I am using this code
<p style="background:black;color:white;font-family:Times New Roman, Arial;font-size:20px">

It works great it put a black bar around my text.

One thing if I want to make the Bar not go the whole width of the screen I know I ad a width code.

But how like this?

<p style="background:black;color:white;width;"75"px:f ont-family:Times New Roman, Arial;font-size:20px">

or how do I ad it in??

biferi is offline   Reply With Quote
Old 07-30-2010, 09:59 AM   #2
In Runtime
hockeygoalie5's Avatar
Join Date: Dec 2009
Location: United States
Posts: 299
Default Re: font text help

Originally Posted by gmcrepair View Post
Spam is going around and on every thread with spam and saying that ^. Keep on topic.

About your problem. Are you ending the paragraph with </p>? I don't see why the background would extend the width of the screen.
hockeygoalie5 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

All times are GMT -5. The time now is 03:26 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0