Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6053273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:01:18+00:00 2026-05-23T08:01:18+00:00

This is my first expericne with WebDesign and I am designign a form with

  • 0

This is my first expericne with WebDesign and I am designign a form with textboxes, labels, etc… and have a question: is it Ok to set hard coded width for these contorls? or I should everwhere use other techniques for example DIV and percentages on different DIVS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:01:19+00:00Added an answer on May 23, 2026 at 8:01 am

    External CSS files should be used whenever possible. The only exception I’ve seen to this is when JavaScript is involved, because it will set inline styles when modifying elements (which, there isn’t much you can do about, so it’s the exception).

    Inline styles are frowned upon because

    • It only affects that element, rendering it useless as soon as you have another element that needs that same style.
    • It makes your code very hard to maintain, because you have to touch every file to make a change when everything’s inline.
    • It defeats the purpose of the cascade part of cascading style sheets (inline styles always have higher priority than non-inline styles), and can lead to unexpected results when trying to change external styles and something isn’t changing as it should.
    • Things like width=100px on most elements are deprecated or at least discouraged by the W3C.
    • It violates separation of presentation and content.
    • It leads to a lot of replication, which violates DRY principles.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Dozer to map two objects, I have: /** /* This first class uses
Note: I already saw this and it doesn't answer the question. I have a
This is my first experience using the Zend Framework. I am attempting to follow
This is my first experience with javascript, and... Well... Ugh. Here's what's happening: function
This first bit works: $my_id = 617; $post_id_7 = get_post($my_id); $title = $post_id_7->post_excerpt; echo
Saw this piece of code in a Ruby on Rails book. This first one
problem euler #5 i found the solution but i don't know why this first
#include <iostream> using namespace std; // This first class contains a vector and a
this my first shot at this awesome new (to me) programmers site, I hope
Code first: '''this is main structure of my program''' from twisted.web import http from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.