Previous Thread
Next Thread
Print Thread
Rate Thread
#233937 01/24/2003 3:05 AM
Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
Hi guys,

I want to give my navigation line a background image.
I've seen that I can change the color of this line with the stylesheets.

Is it also possible to use a background image and not only a color within these css?

Sponsored Links
edr #233938 01/24/2003 3:30 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Does using images like that as opposed to using color codes have much of an effect on server performance?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
You are loading a gif file but most of the sizes we are talking about have little effect.

Bandwidth is bandwidth so there is some. Something in the Millisecond range load difference unless the file is big and drags the server down.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
One way to keep the file size down is to just cut an image so that it is only a few lixels wide (I normally cut my at 10 pixels). Since it is a background image it will tile, filling up the space that it's in. You can see the effect on my site.

The only area where I don't use a small graphic slice is my logo. Due to it's placement withing the tables it looks better being a single solid graphic.

Sponsored Links
Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Thanks for the insight guys

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
As far as images go they will use the same amount of bandwidth no matter how their placed or used in the page. HTML color attributes will display instantly whereas images may be the last things loaded during the page creation. Depending on how you want things to drop into place when the page is being created you may want to opt for html colors.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)