Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Hints and Tips on design (Bg, font-colour, box, flash clock, legends, img, tables etc.) |
Hints and Tips on design |
If you don’t want to read the whole thread then follow the links below
Size of images, tables and so on can be changed by means of the attributes Code width="" height="" A size may be fixed, i.e. specified in pixels, or floating, specified in percent.
You can change background of the page itself, table cells and the whole table. To change the color of the whole page find the < body > tag,
Code <body bgcolor="Color number"> Example:
Code <body bgcolor="#008000"> If you want to put an image as a background then again find the < body > tag,
Code <body background="link to the file"> Example:
Code <body background="http://www.ucoz.com/image/1.jpeg"> When using an image as a background there is a method called "substrate" of a background (fixation)
Code bgproperties="fixed" Example:
Code <body background="http://www.ucoz.com/image/1.jpeg" bgproperties="fixed"> I'm not active on the forum anymore. Please contact other forum staff.
|
Tables
Let’s take as an example an ordinary table 3х3.
Code <table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> </table> So here is a table and we want to change, for example, cell 2.3 (2-row, 3-cell)
Code <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> Here we take cell 3 (<td width="34%">Data</td>) and change the background in it as we did it in body – choose the color and add the following
Code bgcolor="#FF0000" Example:
Code <td width="34%" bgcolor="#FF0000">Data</td> The same with the image
Code <td width="34%" background="link to the file">Data</td> Example:
Code <td width="34%" background="http://www.ucoz.com/image/1.jpeg">Data</td> If we want to change the color of the whole table and not of each cell, we should do the following.
Code <table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> <tr> <td width="33%">Data</td> <td width="33%">Data</td> <td width="34%">Data</td> </tr> </table> and add the following to <table> tag
Code bgcolor="#008000" Example:
Code <table border="1" cellpadding="0" cellspacing="0" width="100%" bgcolor="#008000"> To set an image as a background see the examples above.
Code <table border="1" cellpadding="0" cellspacing="0" width="100%" background="http://www.ucoz.com/image/1.jpeg"> I'm not active on the forum anymore. Please contact other forum staff.
|
The tag of a link: Code <a></a> “href” attribute is responsible for the link address
Code <a href="http://ucoz.ru/">Create your own site</a>
A scrolling line is added by means of the tags Code <marquee></marquee> Example: Code <marquee>uCoz Web Service</marquee> There are also such attributes as
Code <marquee scrolldelay="80" direction="left">uCoz Web Service</marquee> If you want it to stop when pointing with cursor, then add
Code <marquee scrolldelay="80" direction="left" onmouseover='this.stop()' onmouseout='this.start()' >uCoz Web Service</marquee>
Use <img> tag which has size attributes (see above) and an image link attribute
Code <img src="http://ucoz.ru/image.jpg" width="775" height="328">
You should specify the width of tables (mostly) not fixed, i.e. not in pixels but in percent (width="100%")
There are two ways - either CSS or <font> tag - by means of CSS
Code body {color:#FFFFFF} - by means of FONT tag
Code <font color="#FF0000">Text</font>
The design of each module is changed separately if the feature “apply to all pages” is not enabled.
You can do it with the help of Templates Builder.
You should put <img> tag into the link tag <a></a> Code <a href="Link"><img src="http://ucoz.com/image.jpg" width="775" height="328"></a> I'm not active on the forum anymore. Please contact other forum staff.
|
You can use special service http://www.clocklink.com/ Here is an example
The code to install a clock (I used 3 colors as an example): Blue
Code <embed src="http://www.clocklink.com/clocks/5010-blue.swf?TimeZone=GMT0300&" width="222" height="66" wmode="transparent" type="application/x-shockwave-flash"> Red
Code <embed src="http://www.clocklink.com/clocks/5010-red.swf?TimeZone=GMT0300&" width="222" height="66" wmode="transparent" type="application/x-shockwave-flash"> Green
Code <embed src="http://www.clocklink.com/clocks/5010-green.swf?TimeZone=GMT0300&" width="222" height="66" wmode="transparent" type="application/x-shockwave-flash"> You can also install your own flash clock.
Code <embed src="LINK TO THE CLOCK" width="222" height="66" wmode="transparent" type="application/x-shockwave-flash">
Basic code:
Code <object type="application/x-shockwave-flash" data="flash.swf" width="300" height="100"> <param name="movie" value="flash.swf" /> <param name="quality" value="low" /> </object> And a more complete version:
Code <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#3,0,0,0" width="100%" height="100%"><param name="SRC" value="filename.swf"><embed src="filename.swf" pluginspage="http://www.macromedia.com/ shockwave/download/" type="application/x-shockwave-flash" width="100%" height="100%"></embed></object> I'm not active on the forum anymore. Please contact other forum staff.
|
By means of meta tags. Add the meta tags from the list below to a template:
Code <META HTTP-EQUIV="Page-Enter" CONTENT="revealTrans(Duration=4.0,Transition=12)"> (effect when entering a page) <META HTTP-EQUIV="Page-Exit" CONTENT="revealTrans(Duration=4.0,Transition=12)"> (effect when leaving a page) <META HTTP-EQUIV="Site-Enter" CONTENT="revealTrans(Duration=4.0,Transition=12)"> (effect when entering a site) <META HTTP-EQUIV="Site-Exit" CONTENT="revealTrans(Duration=4.0,Transition=12)"> (effect when leaving a site) Duration sets time in seconds, Transition – number of an effect List of effects: 0 - Box in P.S. As far as I know it works in IE only. I'm not active on the forum anymore. Please contact other forum staff.
|
1) In you browser click View -> Source (How do I view the source code of a web page (in different browsers)?. If there is no separate class for the element then add it to the template (via Control Panel) and to the CSS with the necessary parameters. Example: Open CSS of the forum and find "posttdmessage" in the section /* Posts View */.
Code .posttdmessage {padding:5px;font-size:8pt;} We can see that only padding and font size are specified. We can change the size and add color, and the class will look as follows:
Code .posttdmessage {padding:5px;font-size:10pt;color:#CCCCCC;} I'm not active on the forum anymore. Please contact other forum staff.
|
Elarinth, http://YOUR_SITE_ADDRESS/index/15-1 - this is the page to search users.
and you can fond this link in Admin-bar... so please be more attentive. |
I think that video tutorials will appear in future, we just can't do everything at the same time. I can also address you question - ''why can't you guys just make a video tutorial'' - to you and other experienced users: it would be great help for us if experienced users could help us make video tutorials. By the way, the only video tutorial we have now - you can see the link on our home page - was made by one of our users.
I'm not active on the forum anymore. Please contact other forum staff.
|
Control Panel -> Customize Design -> Page Editor(Site pages). 1. Find 'News Calendars' code. It will include $NEWS_CALENDAR$. (Can be any module code.)
Quote <!-- --> <?if($NEWS_CALENDAR$)?> <table border="0" cellpadding="0" cellspacing="0" width="202"> <tr><td height="21" align="center" style="background:url('http://src.ucoz.net/t/771/18.gif') #59B9FF;color:#000000;"><b>News calendar</b></td></tr> <tr><td align="center" style="background:url('http://src.ucoz.net/t/771/19.gif') #F1F1F1;padding:5px;">$NEWS_CALENDAR$</td></tr> <tr><td><img src="http://src.ucoz.net/t/771/20.gif" border="0"></td></tr> </table><br> <?endif?> <!--/--> 3. Choose where to paste code. Under which module: Polls, Tag Board, etc. 6. Find 'News calendar'. It's a box's tittle. You can replace the tittle with your own. Example:
Quote <!-- --> <?if($LOGIN_FORM$)?> <table border="0" cellpadding="0" cellspacing="0" width="202"> <tr><td height="21" align="center" style="background:url('http://src.ucoz.net/t/771/21.gif') #59B9FF;color:#000000;"><b>Login form</b></td></tr> <tr><td align="center" style="background:url('http://src.ucoz.net/t/771/19.gif') #F1F1F1;padding:5px;">$LOGIN_FORM$</td></tr> <tr><td><img src="http://src.ucoz.net/t/771/20.gif" border="0"></td></tr> </table><br> <?endif?> <!--/--> <!-- --> |
| |||