GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
input { width: 98%; } in CSS, but this will make the radio buttons huge as well.
I would change size="40" in the HTML but this is a message board skin I'm doing and it'd require that I recode many different files to do this. It'd be a pain in the butt, and it'd be simplier if I could just do something like:
input.text { width: 98%; } and have it not affect the radio fields.
Putting id tags or class tags in each <input> statement requires him going through all his pages of code, something he wanted to avoid
The reason I used capital letters in the CSS was because I copied the example verbatim from the link I supplied, I hadn't tested to make sure it worked, which is why I didn't want to alter it.
Anyway it doesn't matter. There was no criticism involved there Sorry for sounding like a teacher.
In my opinion I think everybody needs to stop using formatting tags within HTML and start using CSS completely.
I think it's well worth converting all HTML to XHTML transitional or strict in the long run because it will be much easier to maintain. To change the presentation, all one needs to do is to modify the CSS.
Sorry for just jump in, but looks like you guys are good with css so ^_^ ... how does one avoid using tables when designing the pages?. I don't think anything gets more messy then tables inside tables inside tables. There should be a way to do that with CSS right? Been looking on the net for ages, without finding one worthy, understandable tutorial about that. All of the tutorials I've found were to change backgrounds, fonts and colors with css. That's fine, but I want to get rid of the tables...
The second link in particular provides useful code and samples for laying out web pages with tableless design.
I found these on the web and have bookmarked them for fun and profit
In fact my current PHP project "Link Directory" completely uses XHTML templates and I'm validating all my XHTML code to make sure they're 100% compliant.
Nice way to do layout. Using <div> tags entirely and controlling the entire layout using the CSS style for the div class or indentifier.
I learn it quite recently myself. <div> can be a bit confusing at first, but stick with it. It's nice to be able to control layout using the CSS.
Last edited by vharishankar; 07-16-2005 at 03:52 AM.
If you want a simple example to look at, try here, your welcome to the code. Note: the table 'wrapper' was a workaround to vertically align the design in IE
Yeah, I couldn't get input.text to work, so I decided to use classes. I ended up having to do a regexp search through MySQL, it was nasty -- but at least it works now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.