473,479 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

behave a floated element as block level element

64 New Member
hi

i think a floated element(however it is possible that naturally be inline) in some aspect behave as block level element for example get width but it's left corner is placed inside it's parent edge , my question is that when i float an element really behave as block level element(in other properties that block level element have except dont break the line)?

thanks for your help.
May 24 '11 #1
4 1840
Dormilich
8,658 Recognized Expert Moderator Expert
a floated element is a block element by default (ref.). it wouldn’t make sense otherwise.
May 25 '11 #2
sedigh mohseni
64 New Member
oh i'm sorry , but i cant find from your link that floated elements are block level , w3 site only says that float property can apply to element that are not positioned absolutely, am i right?
and if we want to change this behavior, is is sufficient to set display property to anything except block?
and the other my question is word box that is sayed in w3 site , is that the same box that is generation via block level elements?

thanks alot for your help.
May 28 '11 #3
Dormilich
8,658 Recognized Expert Moderator Expert
* left
The element generates a block box that is floated to the left.
block enough?

what behaviours do you want to change? bear in mind the the different display modes have their restrictions.

what is a "word box"? an inline box maybe?
May 28 '11 #4
sedigh mohseni
64 New Member
okay , i see perfectly and apologize you because i think i had seen only above part that you sugested but anyway i find my answer and i thank you alot
May 30 '11 #5

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

Similar topics

9
3172
by: Luke McCarthy | last post by:
Hi, I'm trying to accomplish what I (perhaps naively) assumed would be a relatively easy task. I am trying to center a box in the middle of the display. That's all. Something like this here:...
7
2561
by: David Filmer | last post by:
Greetings. I want to localize a style definition to a portion of an HTML document, but use an external stylesheet. It seems that I can only do <style><!-- @import...
14
5560
by: laurence | last post by:
I am implementing a comprehensive image-map generator utility, so have been studying W3C HTML 4.01 Specification (http://www.w3.org/TR/html4/struct/objects.html#h-13.6) on image maps (among other...
2
3586
by: Anoj | last post by:
Hi All, As you all know in vb.net we can declare block level variables. Like : Dim I As Integer For I = 1 To 3 Dim N As Long ' N has block scope in VB.NET N = N + I Next
27
2771
by: Madhav | last post by:
Hi all, I did not understand why do the global vars are initialized to NULL where as the block level variables have random values? I know that the C standard requires this as was mentioned in a...
6
787
by: ste.paoletti | last post by:
hi, I have read that browsers support block element inside inline element but the css is not valid. Someone can tell me more about? What do you think? Thanks.
10
7193
by: Itaichuk | last post by:
Hi I read in several CSS tutorials that block-level elements, such as <div& <pare rendered with an implicit line break before and after. I set to test this out using the following HTML: I...
10
15529
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I had a program and it always works fine and suddenly it gives me the following message when a pass a xml file to our server program: error code: -1072896680 reason: XML document must...
5
2952
by: SuneR | last post by:
Hi, I am having problems figuring out how to make Firefox behave, and output the HTML I want it to output. The thing I want done is actually quite simple. I have a <labeltag, and inside it, I...
7
2530
HaLo2FrEeEk
by: HaLo2FrEeEk | last post by:
I'm trying to use the W3C Markup Validator to validate my HTML and I'm getting some errors: document type does not allow element "div" here; missing one of "button", "map", "object", "ins", "del",...
0
7027
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6899
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...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6847
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...
1
4757
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...
0
4463
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...
0
2980
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...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.