Jump to content

pmdesign

Members
  • Posts

    19
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.mpetrov.com
  • ICQ
    0

Profile Information

  • Location
    Sofia, Bulgaria

pmdesign's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. pmdesign

    Class IMG

    Thanks, i knew it but i was trying to make sure it's not possible at this time
  2. pmdesign

    Class IMG

    Hi there,I'm wondering how you can use a picture in your CSS class.Well i'm using the "background-image: url()" option to put an image inside my class, but i need to use "width" and "height" just to be the image displayed...Well i don't think it's the best way. So is there any way you can declare a class with "src" option, and when it's used somewhere in the code, a picture is displayed. I dont wanna use "width" or "height" options cause some of the browsers do not understand it well.Well hope somebody could help me
  3. Hi,I know about those definitions:parent_class.class1{}parent_class.class2{}parent_class.class3{}...where parent_class is a standart tag.Can i group the classes like this:parent_class{.class1{}.class2{}.class3{}}so all subclasses gets it's parent definitions + their own
  4. pmdesign

    class change

    Hi there,I just wonder is is possible to change the class of an element using javascript.Specaily a table element.Here's my code:<table class="border_table" onMouseOver="this.style.background='#f6f6f6'" onMouseOut="this.style.background='#FFFFFF'">...</table>I just wanna change all the class. Something like: onMouseOver="this.class='class1'"oronMouseOver="this.class.name='class1'"Any sugestions ?
  5. pmdesign

    Drop-down menu

    Ok but what is the option to change this arrow ?
  6. pmdesign

    Drop-down menu

    Hi there,I need to know how to change all the visualization of a drop-down menu (select tag).All i do seems like this:select {background: #F0F0EE; border: 1px solid #cccccc; font-size: 8px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;color: #000000;}But the drop-down arrow is still in Windows style. Well hope somebody could help.Thanks in advance
  7. Hi there,I need to know is there any possibility tio make somethink with transperant background BUT not fully transperant, just -50% let say.all i have are some buttons that i need to make half transperant :)Well hope somebody could help
  8. Hi,I just wanna know if there's any standart PHP function for checking directories if they are empty or not. If anyone has an idea how to do this let me know. I just wrote a function looping a dir and collectiong info about the number of files there. If it's 0 the dir is empty.<?php $number_of_files = 0;if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $number_of_files++; } } closedir($handle); } ?>
  9. pmdesign

    Gradient color

    I'm afraid the CSS has no power to make a gradient. Like boen_robot says you can make a gradient but only using image as a repeated background.Here's a CSS editor you can use: Top Style LiteYou can use: .h_gradient {background-image: http://www.domain.com/image.jpg;background-repeat: repeat-x;}for horizontal gradient or.v_gradient {background-image: http://www.domain.com/image.jpg;background-repeat: repeat-y;}for vertical gradientGo to this page and find how you can make gradient using JavaScript and DHTMLGood luck
  10. pmdesign

    Variables in CSS

    10q so much. It's a great idea. I may use a php script to generate my CSS file Много благодаря
  11. pmdesign

    Variables in CSS

    Thanks a lot, i'll try it
  12. pmdesign

    Variables in CSS

    Hi,I just wanna ask you if you can use variables in CSS. For example:i have two colors defined:.t1 {color: Red;}.t2 {color: Blue;}If i define other class t3 but want to use the t1 color, is there anyway to use it as a variable in t3 ? For example:.t3 {color: t1.color}so to be equivalent to .t3 {color: Red;}I need it because it's gonna be so useful if you wanna change the colors of the CSS by cnahging only the main color t1.The questions is also about the other options: background, font .... s.o
  13. pmdesign

    Pseudo classes

    OK i fixed it. But I also have "a" class defined for the other links that are outside .myclassAnd it seems the "a" class cover ".myclass a:link"I dont know what i'm doing wrong but i'll keep trying.Thanks
  14. pmdesign

    Pseudo classes

    Now friends comes the other problem.If .t2 a:link{ color: white;}works fine, what's the right syntax for alink and vlink ?I've tried .t2 a:alink.t2 a:vlinkbut it seems to be not working
×
×
  • Create New...