toshudhiman
Friends, i want to ask how to post a pic with link in centre of the site.
When i put a pic on site . I goes left side of site.
And how to use custum ccs .
TechnoSparks
toshudhiman Here, put this in your global_stylesheet.css file (if you don't have one, simply create it)
.imgCenter
{
margin: 0 auto;
display: block;
}
Copy code
Afterwards when you are creating an image block, simply apply this class in the class drop down. Your image will be centred on the page.
toshudhiman
TechnoSparks Maine isko global m daala h .bt phr b image centre m nhi ayi.
TechnoSparks
toshudhiman I am sorry. I only understand english
rajiv
toshudhiman if u want 2 use HTML code, then
<center><img sec="http://xtgem.com/images/mobile2/header_logo.png"/></center>
Copy code OR
<img src="http://xtgem.com/images/mobile2/header_logo.png" style="text-align:center;border:none;" alt="XtGem"/>
Copy code
If u use css style class, then
.img{
border:none;
text-align:center;
width:100%;
}
Copy code
Now use HTML image tag with css class, Like this
<img src="http://xtgem.com/images/mobile2/header_logo.png" class="img"/>
Copy code
Try it..
rakibbd
toshudhiman <center><a href="http://xtgem.com"><img src="http://xtgem.com/images/mobile2/header_logo.png"></a></center>
Copy code
here
http://xtgem.com is your link &
http://xtgem.com/images/mobile2/header_logo.png is your image url..
&
in order to use custom css place this code on your site
<link rel="stylesheet" type="text/css" href="http://tinylove.yn.lt/style/style.css" />
Copy code
here
http://tinylove.yn.lt/style/style.css this is your custom css file link..
romanbd
May i change my forum css??
romanbd
May i change my forum css??
[VIKRAM]
toshudhiman code:
<CENTER>add your image
</CENTER>