close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Structural labeling

Thread began 7/25/2010 10:05 pm by Paradise | Last modified 7/26/2010 4:57 pm by Jason Byrnes | 1500 views | 5 replies |

Paradise

Structural labeling

I wonder about some advices.

Structural Labeling: Position label 'right' in class...

I mean how would you call images you have in articles that are aligned to left and right if not
""icaption-right"?

Sign in to reply to this post

Jason ByrnesWebAssist

it is best practice not to use position names in your class labels.

The reason for this is to allow flexibility in the event of rewriting your site.

if you have:
.myImage-right {
float: right;
}


and later want to change it to float: left; the name will no longer make sense.

The web standards advisor is only making suggestions. it is up to you as the designer whether you wish to follow them or not.

Sign in to reply to this post

Paradise

Sure, suggestions. But i wonder how others would do that in this case.

I mean you write articles and than you give the images in the article a class if you want them left or right. If you want to change that later you have to edit your articles. Then the left picture is still left and the right still right.

Sign in to reply to this post

Jason ByrnesWebAssist

the better practice is to use a more generic name like "imageContainer" instead of "right-imageContainer".

Sign in to reply to this post

Paradise

how does this class-name know how to allign the image?

Sign in to reply to this post

Jason ByrnesWebAssist

the class name does not know how to align the image, the styles in the class name define how the image is aligned.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...