| | |
css help
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2008
Posts: 19
Reputation:
Solved Threads: 2
Hi,
what help do you need? What are you are trying to achieve?
How do you want your background image to appear?
For instance, is the image a graphic that will repeat horizontally or vertically or is it a photo or something similar that will act as a watermark?
what help do you need? What are you are trying to achieve?
How do you want your background image to appear?
For instance, is the image a graphic that will repeat horizontally or vertically or is it a photo or something similar that will act as a watermark?
Steve
www.pcresolver.es
www.pcresolver.es
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Solved Threads: 12
Please, more information!
Still, for guessing...
Initial Call...
Is the initial CSS to use.
Please note that the URL can be handled in 2 different ways.
1)Explicit - you use the FULL path to the file... such as from the root directory... images/products/bigimages/happyimage.jpg
2)Relative - the image is in a folder/directory or sub-folder/directory of the CSS file if it is external.
Thus, if you have inline or embedded CSS, then the URL should be Explicit.
If external CSS files are being used, then you can use either Explicit or Relative.
For positioning of the image...
The position values can be;
1) Exact - measurements in PX etc.
2) Relative - em/% etc.
3) Text - left/right/center/top/bottom etc.
tiling of the image...
The Repeat Value can be;
1) repeat-x - for Horizontal (L to R) tiling/repeating.
2) repeat-y - for Vertical (T to B) tiling/repeating.
3) no-repeat - for no tiling/repeating.
You can also try "fixing" the position... though that can get a little confusing.
Does any of that help?
Still, for guessing...
Initial Call...
css Syntax (Toggle Plain Text)
{ background-image: url(images/mypicture.jpg); }
Is the initial CSS to use.
Please note that the URL can be handled in 2 different ways.
1)Explicit - you use the FULL path to the file... such as from the root directory... images/products/bigimages/happyimage.jpg
2)Relative - the image is in a folder/directory or sub-folder/directory of the CSS file if it is external.
Thus, if you have inline or embedded CSS, then the URL should be Explicit.
If external CSS files are being used, then you can use either Explicit or Relative.
For positioning of the image...
css Syntax (Toggle Plain Text)
{ background-image: url(path_to_image/file_name.ext); background-position: H V; }
The position values can be;
1) Exact - measurements in PX etc.
2) Relative - em/% etc.
3) Text - left/right/center/top/bottom etc.
tiling of the image...
css Syntax (Toggle Plain Text)
{ background-repeat: repeat_value; }
The Repeat Value can be;
1) repeat-x - for Horizontal (L to R) tiling/repeating.
2) repeat-y - for Vertical (T to B) tiling/repeating.
3) no-repeat - for no tiling/repeating.
You can also try "fixing" the position... though that can get a little confusing.
Does any of that help?
Last edited by peter_budo; Apr 6th, 2008 at 3:34 pm. Reason: Keep It Organized - please use [code] tags
Sometimes life holds wonderful suprises - shame I sleep through them all.
http://www.choose-easyweb.com - Not my design, nor my idea :)
http://www.choose-easyweb.com - Not my design, nor my idea :)
![]() |
Similar Threads
- HTML, CSS, JavaScript Developer (Web Development Job Offers)
- Layout Tables to CSS (HTML and CSS)
- CSS center vertical (HTML and CSS)
- CSS Quicky (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: HTML Link Problem.
- Next Thread: CSS drop menu work in FFox not IE
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl





