473,662 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<strong> inside type="text" filed

130 New Member
hello all.
can someone tell if its possible to put <strong> inside the value?
whats the right syntax?
and another Q
is it possible to applay new style to a form
i mean i want to disable all the text filed in the form
but i dont want to go one by one and wirte disable="disabl ed"
can i make calss or css (i realy dont know alot about it)
and then just apllay it with one line ?

thanks
Nov 5 '07 #1
7 1746
drhowarddrfine
7,435 Recognized Expert Expert
No and no. At least the second one can't be done with html/css, though javascript might.
Nov 5 '07 #2
Markus
6,050 Recognized Expert Expert
Actually to the first question, there is a way of doing so...

Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2.  input{
  3.         font-weight: bold;
  4.  }
  5. </style>
  6.  
That will give the <strong> look to all inputs.
No idea about the second though, looks like a JS question.

I remember reading somewhere that you can select certain input types by doing something like
Expand|Select|Wrap|Line Numbers
  1.  input[text]{
  2.  
But i forgets >.<
Nov 5 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
In the first case, as you said, ALL input will be bold but I assume he wants to use <strong> to select only parts.

In the second case, you are thinking of selectors where the part within the brackets, like you show, would be a property name. You can't point to the contents itself. Even then I can't think of how you could disable it.

EDIT: Now that I think of it, there is a way to get at the text with selectors. Of course, it won't work in IE. CSS3 has some good stuff for doing this but, of course, it won't work in IE.

input[type=text]{
css stuff
}
Nov 5 '07 #4
Markus
6,050 Recognized Expert Expert
Yes, i see. Sorry i overlooked that.

Why is IE such a pain?
Nov 5 '07 #5
drhowarddrfine
7,435 Recognized Expert Expert
Internet Explorer was an add-on to Windows Explorer of the OS. Hence the name. It still shares much of the same code. All of this is document-centric so it will work with Word, Excel, the OS, etc. So all of it is aligned to Microsoft's software. The Internet was always an afterthought.

If you recall from a not too long ago, Bill Gates dissed the internet as nothing important to them. But now, they can't tear IE away from the OS without breaking a lot of interfaces to their software and code in general. But this also means they can't make their browser comply with the standards; or at least it's difficult.

So why don't they endorse another or build anew? Because then they lose their grip on how all the software interacts and opens it up to 3rd parties. So it's a business decision as evidenced by their lead developer, Chris Wilson, stating he wants IE to be more standards compliant while, out of the other side of his mouth, he says making IE work with their software is more important than standards. (IEBlog and Albatross!)

In the meantime, IE market share is slowly dwindling as developers have had their fill trying to make their markup fit IEs bugs and quirks. In Europe, usage is as high as 50% in Germany and Finland according to ArsTechnica; as is Australia. Others hover around 30%. In the US, FF usage is around 14%, iirc.

None of these numbers include Opera or Safari or other browsers.
Nov 6 '07 #6
Markus
6,050 Recognized Expert Expert
Personally, Opera is the browser for me.

But i'm only 17... what do i know?

:)
Nov 6 '07 #7
drhowarddrfine
7,435 Recognized Expert Expert
Opera is very good. I might use it if it weren't for the developer tools available on Firefox. Some don't use it because its interface is somewhat different from the others.
Nov 6 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

6
13090
by: Matt Adams | last post by:
I want define for a couple of words inside a longer text with different font specifications. I declared it like: ....text before.... <FONT class=aaa> these text should get other attributes </FONT> text after However when I let this html source validate the FONT tag is marked as not compatible with XHTML. So how do I specify otherwise new font attributes to only a few words?
1
5945
by: melda | last post by:
I am a real beginnner in ASP. Due to increasing demands on dynamic website, I've been working on ASP website now. I use a ready to use CMS program and right now I've been trying to combine a calendar module into my CMS. The calendar works fine except that if I click on the date or the month earlier or later, the page always goes back to the first page which is first opened. You can take a look at this address:...
2
2070
by: zek2005 | last post by:
Hi! I have a value loaded in a database as following: &lt;p&gt;&lt;strong&gt;test&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;test 2&lt;/ strong&gt;&lt;em&gt;&lt;strong&gt;questions&lt;img alt=&quot;&quot; src=&quot;http://www.mysite.com/fckeditor/editor/images/smiley/msn/ regular_smile.gif&quot; /&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
23
2975
by: Stanimir Stamenkov | last post by:
I want to find out whether the following usage of the "Bookmark" link type is o.k. An example could be seen at <http://www.geocities.com/stanio/more/horoskop.html>. The text is in Bulgarian and is some kind of entertaining poetical horoscope. I've used <LINK rel="Bookmark"to create a meta-TOC for the document. Reading the definition of the "Bookmark" link type in the HTML spec I haven't actually got if I'm using it correctly. ...
0
8344
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.