Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mislz28/public_html/wp-content/themes/css-faq-v2/timeweather/timeweather.php on line 19
8 May 2008

forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




ограничение текста по ширине

UserPost

6:06 pm
July 1, 2008


goortos

Member

posts 4

1

есть форма с fieldset и legend. В легенде есть строка текста. Как сделать так, чтобы эта строка усекалась, в случае если она больше допустимой ширины?

6:07 pm
July 1, 2008


hohol

Member

posts 35

2

legend span {
display: -moz-inline-box;
display: inline-block;
max-width: 300px;
overflow:hidden;
white-space:nowrap;
}

* html legend span {
width: expression(this.offsetWidth < ***? “auto” : ***);
}


***-нужное вам значение



Reply to Topic: ограничение текста по ширине

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 8        (Required)

Topic Reply:


 

About the CSS-FAQ forum

Currently Online:

3 Guests

Maximum Online: 20

Forums:

Groups: 3

Forums: 18

Topics: 397

Posts: 834

Members:

There are 1050 members

There are 1 guests

Top Posters:

abc - 57

genius - 47

shane - 46

glowlite.uk - 39

booster - 37

warren - 35

Administrator: admin | Moderators: admin


© Simple:Press Forum - Version 3.1.1 (Build 336)