The problem here is that these divs appear in the center of the screen , i want them to be wider. But when i change the width from 400px to 500 , they dont stay inline anymore , but 2 smaller divs go down . Can anyone help me with that , i just want to be how
they are , but wider in the screen.
I don't see anything again. You will have to upload image to some hosting (you can use http://tinypic.com/) and then click on marked icon and insert URL of the image:
I can see in your code that you are using class for the div's which refer to the css class.
and you also applied the inline line css.
so this may create conflict here and controls get overlap each other.
so try to remove the inline css and if you want to modify the css then try to modify the css classes.
so it not create any conflict and controls display properly.
Regards
Deepak
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
these 3 divs arent responsive , i mean they are stick to each others and positioned in the center of the screen , what i want is the right div to be in the whole right size of the screen , and other two left divs to be in the other left side of the screen
and to have to spaces between 5px or something else . Thank you in advanced .
make sure that you implement the css at one place and it not get conflict with other css.
Regards
Deepak
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
43 Points
106 Posts
How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 11:15 AM|ddgg|LINK
Im working on this mvc5 view :
The problem here is that these divs appear in the center of the screen , i want them to be wider. But when i change the width from 400px to 500 , they dont stay inline anymore , but 2 smaller divs go down . Can anyone help me with that , i just want to be how they are , but wider in the screen.
Star
10979 Points
2850 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:00 PM|kipo|LINK
Remove class for parent div. So, replace this:
with this:
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:07 PM|ddgg|LINK
I removed the container class and changed the classes from md-5 and md-7 to
Star
10979 Points
2850 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:13 PM|kipo|LINK
What exactly do you mean by "one on one"?
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:14 PM|ddgg|LINK
They interfere with each other , i mean the textbox is over label
Star
10979 Points
2850 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:18 PM|kipo|LINK
Can you post screenshot?
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:22 PM|ddgg|LINK
Star
10979 Points
2850 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:27 PM|kipo|LINK
Where did you insert it, I don't see anything?
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:31 PM|ddgg|LINK
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:32 PM|ddgg|LINK
i really dont know why the picture wont show up , nevermind .. i respekt all ur help. regards.
Star
10979 Points
2850 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:38 PM|kipo|LINK
I don't see anything again. You will have to upload image to some hosting (you can use http://tinypic.com/) and then click on marked icon and insert URL of the image:
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 26, 2017 12:42 PM|ddgg|LINK
Okay , here is the link:
http://tinypic.com/view.php?pic=20k6qz4&s=9#.WfHX0luCwdU
http://i68.tinypic.com/20k6qz4.png
Contributor
2990 Points
1210 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 27, 2017 06:06 AM|Deepak Panchal|LINK
Hi ddgg,
I can see in your code that you are using class for the div's which refer to the css class.
and you also applied the inline line css.
so this may create conflict here and controls get overlap each other.
so try to remove the inline css and if you want to modify the css then try to modify the css classes.
so it not create any conflict and controls display properly.
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
43 Points
106 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 27, 2017 02:20 PM|ddgg|LINK
these 3 divs arent responsive , i mean they are stick to each others and positioned in the center of the screen , what i want is the right div to be in the whole right size of the screen , and other two left divs to be in the other left side of the screen and to have to spaces between 5px or something else . Thank you in advanced .
Contributor
2990 Points
1210 Posts
Re: How to make divs in MVC5 view appear in the whole screen , not just in the center of it
Oct 30, 2017 05:48 AM|Deepak Panchal|LINK
Hi ddgg,
I suggest you to set the position to relative of those div's and try to refer examples in link below will give you further idea.
CSS Layout - The position Property
css position
make sure that you implement the css at one place and it not get conflict with other css.
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.