Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
oshoartists is on a distinguished road
 
Posts: 5
Join Date: Dec 2011
Default new in making site - 12-28-2011, 04:18 AM

I am new....i never make any site.
but i have some knowledge of html.and learning php.
but i want to know that how to set background color in many colors.
how to upload photo in small size.
same as www.oshoworld.com
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Junior Member
bjoern is on a distinguished road
 
Posts: 4
Join Date: Dec 2011
Default 12-28-2011, 10:16 PM

You can setup difference background colors by using a colored background image. In this way you have to use CSS (http://www.w3schools.com/css/).
In what way do you want to upload pictures? Via FTP you just can resize them with programs. Other way you have to use the GD-Extension (http://php.net/manual/en/book.image.php)
Reply With Quote
(#3 (permalink))
Old
Junior Member
oshoartists is on a distinguished road
 
Posts: 5
Join Date: Dec 2011
Default 01-02-2012, 06:59 AM

i tried this...
{
background-image:url('water.gif');
background-size:80px 60px;
background-repeat:repeat-x;
}
i want full screen background.
how can i do?
Reply With Quote
(#4 (permalink))
Old
Junior Member
bjoern is on a distinguished road
 
Posts: 4
Join Date: Dec 2011
Default 01-02-2012, 09:46 AM

You are on the right way, but
  • background-size just resize the repeated image
  • repeat-x is only the x-axis
so you have to write:
Code:
body{
    background-image:url('water.gif');
}
Reply With Quote
(#5 (permalink))
Old
Junior Member
oshoartists is on a distinguished road
 
Posts: 5
Join Date: Dec 2011
Default 01-02-2012, 11:41 AM

very very thanks.it work for me.
+1 added.
and please alive this topic and please always help me.
Reply With Quote
(#6 (permalink))
Old
Junior Member
oshoartists is on a distinguished road
 
Posts: 5
Join Date: Dec 2011
Default 01-02-2012, 05:05 PM

i am not able to center image.
i am using this code:-
<img src="header.jpg" alt="header" />
what should i do?
Reply With Quote
(#7 (permalink))
Old
Junior Member
oshoartists is on a distinguished road
 
Posts: 5
Join Date: Dec 2011
Default 01-04-2012, 11:14 AM

Is there any one that can help me?
Reply With Quote
(#8 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 1,622
Join Date: Jul 2011
Location: UK
Default 01-04-2012, 02:11 PM

Hi - <center><img src="header.jpg" alt="header" /></center>

http://www.w3schools.com/
Reply With Quote
(#9 (permalink))
Old
Banned
zeb_zeb86 is on a distinguished road
 
Posts: 42
Join Date: Aug 2011
Default 01-19-2012, 04:57 AM

Quote:
Originally Posted by ShocK View Post
Hi - <center><img src="header.jpg" alt="header" /></center>

http://www.w3schools.com/
this is a very good site for new beginners of php..
Reply With Quote
(#10 (permalink))
Old
bubt's Avatar
Member
bubt is on a distinguished road
 
Posts: 47
Join Date: Sep 2009
Default 01-19-2012, 04:17 PM

You should avoid the center taq sins its deprecated.
To guarantee that the element will be centered in all modern browsers.
Set the margin property of the element to 0 auto, and then set the parent element to text-align center.
This should be done in css.
Reply With Quote
Reply

Thread Tools
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 Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com